diff options
| author | Adam Soltys <[email protected]> | 2022-09-29 15:05:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-29 15:05:13 -0700 |
| commit | 64911388f80d52d6dd53d707457a37fe386c194e (patch) | |
| tree | b96d7c1b85857459d6a91673e5ac6598eed7bd98 /src/components/RegisterOrLogin.svelte | |
| parent | 9e07792fcdd0ba0b7c07a20fe83db54597388e26 (diff) | |
| download | coinos-ui-64911388f80d52d6dd53d707457a37fe386c194e.tar.gz coinos-ui-64911388f80d52d6dd53d707457a37fe386c194e.zip | |
address parsing
Diffstat (limited to 'src/components/RegisterOrLogin.svelte')
| -rw-r--r-- | src/components/RegisterOrLogin.svelte | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte index fa805a1d..8f10fadd 100644 --- a/src/components/RegisterOrLogin.svelte +++ b/src/components/RegisterOrLogin.svelte @@ -3,7 +3,7 @@ import { page } from '$app/stores'; import { tick } from 'svelte'; import { Icon } from '$comp'; - import { post, failure } from '$lib/utils'; + import { focus, post, failure } from '$lib/utils'; import { redirect, user, token } from '$lib/store'; import { auth } from '$lib/socket'; import { goto } from '$app/navigation'; @@ -25,10 +25,6 @@ // TODO: move to server side $: if (browser && $user) goto(`/${$user.username}/receive`); - - let focus = (el) => setTimeout(() => el.focus()); - - console.log('REDIRECT STORE', $redirect); </script> <div class="pt-10"> |
