mirror of
https://github.com/0xPARC/zkmessage.xyz.git
synced 2026-01-10 14:57:55 -05:00
fix login redir
This commit is contained in:
@@ -23,7 +23,7 @@ export default function LoginPage(props: {}) {
|
||||
const handleLogin = useCallback((value: string) => {
|
||||
const _ = Buffer.from(value, "hex") // just make sure it's a valid hex string
|
||||
localStorage.setItem(LOCAL_STORAGE_SECRET_KEY, value)
|
||||
router.push("/backup")
|
||||
router.push("/")
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user