From 9246e07dc3d11d24ccb2bc8a16e265c2e8f29471 Mon Sep 17 00:00:00 2001 From: phoebus-84 Date: Mon, 5 Feb 2024 19:22:04 +0100 Subject: [PATCH] fix: in unlock page pathe were resolved two times --- src/routes/[[lang]]/(auth)/unlock/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/[[lang]]/(auth)/unlock/+page.svelte b/src/routes/[[lang]]/(auth)/unlock/+page.svelte index c2a25cf5..71bd8329 100644 --- a/src/routes/[[lang]]/(auth)/unlock/+page.svelte +++ b/src/routes/[[lang]]/(auth)/unlock/+page.svelte @@ -15,7 +15,7 @@ try { await authenticate(); await unlockApp(); - await goto(i18n.resolveRoute('/wallet')); + await goto('/wallet'); } catch (e) { error = 'BIOMETRY_ERROR'; } @@ -42,7 +42,7 @@ async function testUnlock() { await unlockApp(); - await goto(i18n.resolveRoute('/home')); + await goto('/home'); }