fixed nextjs build with super cringe solution (will be revert in next commit)

This commit is contained in:
Ren Amamiya
2023-04-21 10:45:29 +07:00
parent 5a7389b7e8
commit a2aad487ab
11 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default function ChatList() {
const profile = JSON.parse(activeAccount.metadata);
const openSelfChat = () => {
router.push(`/nostr/chats/${activeAccount.pubkey}`);
router.push(`/nostr/chats?pubkey=${activeAccount.pubkey}`);
};
useEffect(() => {