diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-29 09:13:08 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-29 09:13:08 -0500 |
commit | 9af20325a027a69ca7140320a97e7d47f21ba91d (patch) | |
tree | 8ec5426841c75c5f10c71c55649de12c192abf94 /app/src | |
parent | Add a reload prompt instead of an auto-update (diff) | |
download | trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar.gz trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar.bz2 trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar.lz trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar.xz trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.tar.zst trinkets-9af20325a027a69ca7140320a97e7d47f21ba91d.zip |
Forgor an icon
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/src')
-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> |