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

View File

@@ -14,7 +14,7 @@ export const ActiveAccount = ({ user }: { user: any }) => {
const userData = JSON.parse(user.metadata);
const openProfilePage = () => {
router.push(`/nostr/users/${user.pubkey}`);
router.push(`/nostr/user?pubkey=${user.pubkey}`, { forceOptimisticNavigation: true });
};
const copyPublicKey = async () => {