From 33dce1ef17fa3f0ab0e907f769be68bd05125840 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Sun, 25 Jan 2026 04:25:23 -0500 Subject: [PATCH] style: format via prettier --- SharpbinV3.Client/src/lib/components/Dropdown.svelte | 2 +- SharpbinV3.Client/src/lib/components/Navbar.svelte | 6 +++--- SharpbinV3.Client/src/routes/+page.svelte | 6 ++---- SharpbinV3.Client/src/routes/[id]/+page.svelte | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/SharpbinV3.Client/src/lib/components/Dropdown.svelte b/SharpbinV3.Client/src/lib/components/Dropdown.svelte index bf8a8eb..7eca4e4 100644 --- a/SharpbinV3.Client/src/lib/components/Dropdown.svelte +++ b/SharpbinV3.Client/src/lib/components/Dropdown.svelte @@ -66,7 +66,7 @@ -
+
diff --git a/SharpbinV3.Client/src/routes/+page.svelte b/SharpbinV3.Client/src/routes/+page.svelte index 9e9730b..a5e44df 100644 --- a/SharpbinV3.Client/src/routes/+page.svelte +++ b/SharpbinV3.Client/src/routes/+page.svelte @@ -108,8 +108,6 @@ label: syntaxes[lang]?.name ?? lang.charAt(0).toUpperCase() + lang.slice(1) })) ?? []; - - const visibilityOptions = data.options?.visibilities?.map((visibility: { value: number; displayName: string }) => ({ value: visibility.value, @@ -375,7 +373,7 @@ class="monospace mb-2 flex h-fit min-h-12 items-center justify-between {selectedSyntax === 'markdown' ? 'ml-auto w-[calc(100%-150px)] rounded-br' - : 'w-full rounded-b'} border border-neutral-700 bg-neutral-800 p-1 pr-2 pl-2 text-sm text-neutral-400 md:min-h-8 md:h-8" + : 'w-full rounded-b'} border border-neutral-700 bg-neutral-800 p-1 pr-2 pl-2 text-sm text-neutral-400 md:h-8 md:min-h-8" >
@@ -416,7 +414,7 @@ />
{#if selectedVisibility === 2} -
+
({ value: visibility.value,