diff --git a/web-wallet/.eslintignore b/web-wallet/.eslintignore index e9d603fbeb..da81b5c351 100644 --- a/web-wallet/.eslintignore +++ b/web-wallet/.eslintignore @@ -4,6 +4,7 @@ node_modules /.svelte-kit /package .env +.env.\* !.env.example # Ignore files for PNPM, NPM and YARN diff --git a/web-wallet/src/routes/(app)/dashboard/+layout.svelte b/web-wallet/src/routes/(app)/dashboard/+layout.svelte index 369b1c1c82..19a4c5c1c0 100644 --- a/web-wallet/src/routes/(app)/dashboard/+layout.svelte +++ b/web-wallet/src/routes/(app)/dashboard/+layout.svelte @@ -18,8 +18,8 @@ /** @type {import('./$types').LayoutData} */ export let data; - /** @type {null | string} */ - let syncStatusLabel = null; + /** @type {string} */ + let syncStatusLabel = ""; /** @type {string} */ let networkStatusIconPath = ""; @@ -41,7 +41,7 @@ $: if (syncStatus.isInProgress) { iconVariant = "warning"; networkStatusIconPath = mdiTimerSand; - syncStatusLabel = null; + syncStatusLabel = ""; } else if (syncStatus.error) { iconVariant = "error"; networkStatusIconPath = mdiAlertOutline;