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

@@ -40,7 +40,7 @@ export default function Page() {
privkey = nip19.decode(privkey).data;
}
if (typeof getPublicKey(privkey) === 'string') {
router.push(`/onboarding/login/step-2?privkey=${privkey}`, { forceOptimisticNavigation: true });
router.push(`/onboarding/login/${privkey}`);
}
} catch (error) {
setError('key', {