diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/lib/svelte/ReloadPrompt.svelte | 2 | ||||
-rw-r--r-- | app/src/routes/truncate/+page.svelte | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/src/lib/svelte/ReloadPrompt.svelte b/app/src/lib/svelte/ReloadPrompt.svelte index 1d5dbf6..d54a202 100644 --- a/app/src/lib/svelte/ReloadPrompt.svelte +++ b/app/src/lib/svelte/ReloadPrompt.svelte @@ -1,5 +1,5 @@ <script lang="ts"> - import { getToastStore, Toast } from "@skeletonlabs/skeleton"; + import { getToastStore } from "@skeletonlabs/skeleton"; import { useRegisterSW } from "virtual:pwa-register/svelte"; const toastStore = getToastStore(); diff --git a/app/src/routes/truncate/+page.svelte b/app/src/routes/truncate/+page.svelte index 6e0cfcd..104785d 100644 --- a/app/src/routes/truncate/+page.svelte +++ b/app/src/routes/truncate/+page.svelte @@ -2,6 +2,7 @@ import saveFile from '$lib/ts/download'; import type { TruncateRequest, TruncateResponse } from '$lib/types/truncate-worker'; import Icon from '@iconify/svelte'; + import fileStorage from '@iconify/icons-carbon/file-storage'; import { FileDropzone, ProgressBar } from '@skeletonlabs/skeleton'; import { onMount } from 'svelte'; @@ -55,7 +56,7 @@ > <svelte:fragment slot="lead"> <div class="flex justify-center items-center"> - <Icon icon="carbon:file-storage" width="50" /> + <Icon icon={fileStorage} width="50" /> </div> </svelte:fragment> <svelte:fragment slot="meta">Drop a file here to truncate it.</svelte:fragment> |