From 7fc626363ff1c1a06c6487e2537791e9a3b9711a Mon Sep 17 00:00:00 2001 From: "K.Chanatipz" Date: Wed, 25 Dec 2024 22:00:20 +0700 Subject: [PATCH] fix: lint fix --- apps/web/src/routes/+page.svelte | 8 ++--- .../atom/collapsible/collapsible.svelte | 2 +- .../components/organism/navbar/navbar.svelte | 34 ++++++++----------- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/apps/web/src/routes/+page.svelte b/apps/web/src/routes/+page.svelte index f6641fca7..7ee9584f1 100644 --- a/apps/web/src/routes/+page.svelte +++ b/apps/web/src/routes/+page.svelte @@ -21,7 +21,7 @@

Web

- + {counter} @@ -34,9 +34,9 @@ รหัสผ่าน Closable @@ -44,7 +44,7 @@

Testtsetst

- +

RecommendedTag

diff --git a/packages/ui/src/components/atom/collapsible/collapsible.svelte b/packages/ui/src/components/atom/collapsible/collapsible.svelte index c048dc2d2..db3f73440 100644 --- a/packages/ui/src/components/atom/collapsible/collapsible.svelte +++ b/packages/ui/src/components/atom/collapsible/collapsible.svelte @@ -15,7 +15,7 @@ diff --git a/packages/ui/src/components/organism/navbar/navbar.svelte b/packages/ui/src/components/organism/navbar/navbar.svelte index 3c0b359e6..cb1431b96 100644 --- a/packages/ui/src/components/organism/navbar/navbar.svelte +++ b/packages/ui/src/components/organism/navbar/navbar.svelte @@ -55,11 +55,11 @@ {#each navItems as item} (selected = item)} href="/" > {item} @@ -80,7 +80,7 @@ > {#if isLoggedIn} - + {#each collapseItems as item}

{item}

{/each} @@ -91,7 +91,7 @@ >

เข้าสู่ระบบ

{/if} - +
@@ -102,24 +102,20 @@ role="button" tabindex="0" aria-label="Close sidebar" - on:click="{toggleSideBar}" - on:keydown="{(e) => e.key === 'Enter' && toggleSideBar()}" + onclick={toggleSideBar} + onkeydown={(e) => e.key === 'Enter' && toggleSideBar()} > {/if}