diff --git a/src/lib/components/ui/Placeholder.svelte b/src/lib/components/ui/Placeholder.svelte index 8aaf6b2f..0b7e89b7 100644 --- a/src/lib/components/ui/Placeholder.svelte +++ b/src/lib/components/ui/Placeholder.svelte @@ -23,20 +23,22 @@ >
{#if icon} -
+
{/if} -
+

{title}

{#if description} - +

{/if}
diff --git a/src/routes/accounts/+page.svelte b/src/routes/accounts/+page.svelte index 301ff968..2bdebf1d 100644 --- a/src/routes/accounts/+page.svelte +++ b/src/routes/accounts/+page.svelte @@ -31,13 +31,8 @@ let radioSelected = $state(profile.current.id) $effect(() => { - switching = radioSelected profile.meta.profile = radioSelected }) - - $effect(() => { - if (profile.current.user) switching = -1 - }) diff --git a/src/routes/moderation/+page.svelte b/src/routes/moderation/+page.svelte index 20306475..c4cf40c6 100644 --- a/src/routes/moderation/+page.svelte +++ b/src/routes/moderation/+page.svelte @@ -13,7 +13,7 @@ import { Button, Material, Select, Spinner, toast } from 'mono-svelte' import Option from 'mono-svelte/forms/select/Option.svelte' import { tick } from 'svelte' - import { Check, Funnel, Icon, Inbox, XMark } from 'svelte-hero-icons' + import { Check, Funnel, Icon, ShieldCheck, XMark } from 'svelte-hero-icons' import Report from './Report.svelte' let { data = $bindable() } = $props() @@ -160,7 +160,7 @@ /> {:else}