aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/lib/ui/button.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/lib/ui/button.svelte')
-rw-r--r--app/src/lib/ui/button.svelte3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/lib/ui/button.svelte b/app/src/lib/ui/button.svelte
index 8c66bd2..37b1c97 100644
--- a/app/src/lib/ui/button.svelte
+++ b/app/src/lib/ui/button.svelte
@@ -1,6 +1,5 @@
<script lang="ts">
import type { HTMLButtonAttributes } from "svelte/elements";
- import { Spinner } from "phosphor-svelte";
let { children, loading, type = "button", ...restProps }: Props = $props();
type Props = {
@@ -11,7 +10,7 @@
<button {...restProps} {type}>
{@render children?.()}
{#if loading}
- <Spinner />
+ ...
{/if}
</button>