diff --git a/Foxnouns.Frontend/src/lib/components/IconButton.svelte b/Foxnouns.Frontend/src/lib/components/IconButton.svelte index 1feedd9..a370002 100644 --- a/Foxnouns.Frontend/src/lib/components/IconButton.svelte +++ b/Foxnouns.Frontend/src/lib/components/IconButton.svelte @@ -11,15 +11,29 @@ id?: string; onclick?: MouseEventHandler; outline?: boolean; + active?: boolean; + class?: string; }; - let { icon, tooltip, color = "primary", type, id, onclick, outline }: Props = $props(); + let { + icon, + tooltip, + color = "primary", + type, + id, + onclick, + outline, + active, + class: className, + }: Props = $props(); + + + + + + +
+ {#each customPreferences as _, idx} + remove(idx)} /> + {/each} +
+ +
diff --git a/Foxnouns.Frontend/src/routes/settings/profile/bio/+page.svelte b/Foxnouns.Frontend/src/routes/settings/profile/bio/+page.svelte index 4ec8717..19e04fb 100644 --- a/Foxnouns.Frontend/src/routes/settings/profile/bio/+page.svelte +++ b/Foxnouns.Frontend/src/routes/settings/profile/bio/+page.svelte @@ -3,7 +3,6 @@ import type { ActionData, PageData } from "./$types"; import BioEditor from "$components/editor/BioEditor.svelte"; import { t } from "$lib/i18n"; - import { enhance } from "$app/forms"; type Props = { data: PageData; form: ActionData }; let { data, form }: Props = $props(); @@ -13,6 +12,6 @@

{$t("edit-profile.bio-tab")}

-
+