diff options
| author | secondl1ght <[email protected]> | 2022-07-29 21:29:18 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-29 21:29:18 -0600 |
| commit | a038ce9711f8ae5945eba073c82aa2aeb2bcf5c3 (patch) | |
| tree | ab1177d57a100b663ecd28367e686e0f2a6891f7 /src/components | |
| parent | 49e7185efd45add123e0dbfcab077772b5ff22f6 (diff) | |
| download | coinos-ui-a038ce9711f8ae5945eba073c82aa2aeb2bcf5c3.tar.gz coinos-ui-a038ce9711f8ae5945eba073c82aa2aeb2bcf5c3.zip | |
start hooking up invoice screen
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/RegisterOrLogin.svelte | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte index 2334741d..15be60cf 100644 --- a/src/components/RegisterOrLogin.svelte +++ b/src/components/RegisterOrLogin.svelte @@ -7,7 +7,8 @@ export let page; - let username = "bob", password = "pw"; + let username = 'bob', + password = 'pw'; let revealPassword = false; @@ -20,7 +21,7 @@ let r = await post(url, { username, password }); if (!r.token) r = await post('/login', { username, password }); $token = r.token; - console.log("new token", r.token) + console.log('new token', r.token); auth(); goto('/receive'); }; @@ -43,7 +44,7 @@ required class="bg-primary p-4 rounded-2xl w-full" bind:value={username} - autofocus + autofocus /> </div> |
