fixed nextjs ssg build issue
This commit is contained in:
@@ -40,7 +40,7 @@ export default function Page() {
|
||||
privkey = nip19.decode(privkey).data;
|
||||
}
|
||||
if (typeof getPublicKey(privkey) === 'string') {
|
||||
router.push(`/onboarding/login/${privkey}`);
|
||||
router.push(`/onboarding/login/step-2?privkey=${privkey}`);
|
||||
}
|
||||
} catch (error) {
|
||||
setError('key', {
|
||||
|
||||
Reference in New Issue
Block a user