diff options
| author | secondl1ght <[email protected]> | 2022-08-21 20:53:21 -0400 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-21 20:53:21 -0400 |
| commit | 48c99c6a701a210889c7e8d3021825de0abbff8c (patch) | |
| tree | 677e10a185cfce9b5e015f716873fd7ef47d2d00 /src/routes/+error.svelte | |
| parent | 9c98f3472868bb085fd60279f125887c54cbfcb3 (diff) | |
| download | coinos-ui-48c99c6a701a210889c7e8d3021825de0abbff8c.tar.gz coinos-ui-48c99c6a701a210889c7e8d3021825de0abbff8c.zip | |
remove leaflet and run format
Diffstat (limited to 'src/routes/+error.svelte')
| -rw-r--r-- | src/routes/+error.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index 2a8846c3..2bacc8a6 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -1,7 +1,7 @@ <script> - import { page } from '$app/stores'; + import { page } from '$app/stores'; import { Icon, PageNotFound } from '$comp'; - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; </script> {#if $page.error.message.includes('not found') || $page.status === 404} @@ -15,9 +15,9 @@ <Icon icon="error" style="mx-auto w-56" /> - <h1 class="font-bold text-5xl">{$_('error.header'), { default: "Error" }}</h1> + <h1 class="font-bold text-5xl">{($_('error.header'), { default: 'Error' })}</h1> <p class="px-1 w-full md:w-96 break-all font-bold">{$page.error.message.toUpperCase()}</p> - <p>{$_('error.message'), { default: "Please try again or contact support." }}</p> + <p>{($_('error.message'), { default: 'Please try again or contact support.' })}</p> </div> </div> {/if} |
