From bf02d164bc2eb72ad552ba51a1a8af217f837dfe Mon Sep 17 00:00:00 2001 From: SquidSpirit Date: Mon, 13 Oct 2025 20:29:05 +0800 Subject: [PATCH] style: pnpm format --- .../auth/framework/api/authApiServiceImpl.ts | 2 +- .../components/ui/button/button.svelte | 46 +++++++++---------- .../framework/components/ui/button/index.ts | 2 +- .../lib/common/framework/components/utils.ts | 8 ++-- .../lib/common/framework/ui/ErrorPage.svelte | 2 +- .../framework/ui/DashboardNavbar.svelte | 2 +- frontend/src/routes/dashboard/+layout.svelte | 2 +- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/frontend/src/lib/auth/framework/api/authApiServiceImpl.ts b/frontend/src/lib/auth/framework/api/authApiServiceImpl.ts index ed1ffb2..f041c0e 100644 --- a/frontend/src/lib/auth/framework/api/authApiServiceImpl.ts +++ b/frontend/src/lib/auth/framework/api/authApiServiceImpl.ts @@ -9,7 +9,7 @@ export class AuthApiServiceImpl implements AuthApiService { const url = new URL('me', Environment.API_BASE_URL); const response = await this.fetchFn(url); - + if (!response.ok) { return null; } diff --git a/frontend/src/lib/common/framework/components/ui/button/button.svelte b/frontend/src/lib/common/framework/components/ui/button/button.svelte index 92f6f84..b5b348b 100644 --- a/frontend/src/lib/common/framework/components/ui/button/button.svelte +++ b/frontend/src/lib/common/framework/components/ui/button/button.svelte @@ -1,38 +1,38 @@ -
+
Dashboard
{#each links as link (link.href)} diff --git a/frontend/src/routes/dashboard/+layout.svelte b/frontend/src/routes/dashboard/+layout.svelte index 993c523..548315a 100644 --- a/frontend/src/routes/dashboard/+layout.svelte +++ b/frontend/src/routes/dashboard/+layout.svelte @@ -49,7 +49,7 @@ {:else if hasError} {:else} -
+
{@render children()}