From 78276fc7e45a5cd640d960cd00a70f1bbbccaad3 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Fri, 14 Nov 2025 07:41:09 +0100 Subject: [PATCH] chore: pnpm format --- src/stores/projectCache.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stores/projectCache.ts b/src/stores/projectCache.ts index f6e529b9..4ff5c5ce 100644 --- a/src/stores/projectCache.ts +++ b/src/stores/projectCache.ts @@ -1,4 +1,5 @@ import { writable } from "svelte/store"; + import type { Project } from "../openapi/client/types.gen"; /** @@ -136,7 +137,7 @@ function createProjectCache() { * @returns Object containing cache size and sample keys */ getStats: () => { - let stats = { size: 0, sampleKeys: [] as string[] }; + const stats = { size: 0, sampleKeys: [] as string[] }; update((state) => { stats.size = state.projects.size; stats.sampleKeys = Array.from(state.projects.keys()).slice(0, 10);