aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-06-06 12:51:51 -0700
committerAdam Soltys <[email protected]>2023-06-06 12:51:51 -0700
commit80a5cb02f266d9d03080e9d1b9d2b20702397a89 (patch)
tree790ffdd0af76332c9ad2e21ddd27a61f5fe10d9f /src/components
parent9d9ce2836353b02f27831381718e1322b46aa8d1 (diff)
downloadcoinos-ui-80a5cb02f266d9d03080e9d1b9d2b20702397a89.tar.gz
coinos-ui-80a5cb02f266d9d03080e9d1b9d2b20702397a89.zip
redirect on sign in
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 51c70851..ac815211 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -119,7 +119,7 @@
</OutClick>
</div>
{:else}
- <a href="/login">
+ <a href={`/login?redirect=${$page.url.pathname}`}>
<button class="bg-white px-5 py-2 rounded-xl font-semibold text-sm"
>{$t('nav.signIn')}</button
>