diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 17:51:24 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 17:51:24 -0800 |
| commit | 13466248004327e9a026cb89f94926f9b060d1c1 (patch) | |
| tree | 47b4972c33809ccdf866b043c92cd3e0ecf5dcd0 /src/routes/(app)/funder | |
| parent | 3aa9ce1b5985397d7f568887ec6f881df13c1034 (diff) | |
| download | coinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.tar.gz coinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.zip | |
linting
Diffstat (limited to 'src/routes/(app)/funder')
| -rw-r--r-- | src/routes/(app)/funder/+page.svelte | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/routes/(app)/funder/+page.svelte b/src/routes/(app)/funder/+page.svelte index e6549360..408b1236 100644 --- a/src/routes/(app)/funder/+page.svelte +++ b/src/routes/(app)/funder/+page.svelte @@ -1,6 +1,6 @@ <script lang="ts"> - import { onMount } from 'svelte'; -let here = false; + import { onMount } from "svelte"; + let here = false; let ready = false; let success = false; let controller: AbortController | null = null; @@ -26,21 +26,21 @@ let here = false; { records: [ { - recordType: 'url', - data: 'https://coinos.io', + recordType: "url", + data: "https://coinos.io", }, ], }, - { signal: controller.signal } + { signal: controller.signal }, ); success = true; } catch (err) { - if (err.name === 'AbortError') { - console.warn('Previous write aborted'); + if (err.name === "AbortError") { + console.warn("Previous write aborted"); } else { - console.error('Write failed', err); - alert('❌ Write failed: ' + err.message); + console.error("Write failed", err); + alert("❌ Write failed: " + err.message); } } finally { await NfcWriter.disableExclusiveNfcMode(); |
