temporary fix redirect issue in nextjs export

This commit is contained in:
Ren Amamiya
2023-04-21 17:37:47 +07:00
parent b64ed8b587
commit 8bf386ca9b
12 changed files with 41 additions and 32 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export const NoteComment = ({
const profile = activeAccount.metadata ? JSON.parse(activeAccount.metadata) : null;
const openThread = () => {
router.push(`/nostr/newsfeed/${eventID}`);
router.push(`/nostr/newsfeed/note?id=${eventID}`, { forceOptimisticNavigation: true });
};
const submitEvent = () => {