fixed build errors

This commit is contained in:
Ren Amamiya
2023-02-24 15:29:40 +07:00
parent 35c50ced5f
commit 4428cc680f
3 changed files with 11 additions and 12 deletions
+1 -4
View File
@@ -13,10 +13,7 @@ export const ProfileMenu = memo(function ProfileMenu({ pubkey }: { pubkey: strin
};
const updateProfile = () => {
router.push({
pathname: '/profile/update',
query: { pubkey: pubkey },
});
router.push('/profile/update');
};
const copyPubkey = async () => {