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

This reverts commit a2aad487ab.
This commit is contained in:
Ren Amamiya
2023-04-21 11:00:45 +07:00
parent a2aad487ab
commit 1ee77c28fe
11 changed files with 26 additions and 44 deletions

View File

@@ -18,7 +18,7 @@ export default function ChatList() {
const profile = JSON.parse(activeAccount.metadata);
const openSelfChat = () => {
router.push(`/nostr/chats?pubkey=${activeAccount.pubkey}`);
router.push(`/nostr/chats/${activeAccount.pubkey}`);
};
useEffect(() => {