chore: standardize quotes in pnpm-lock.yaml and clean up formatting in various files for improved readability

This commit is contained in:
Julien Froidefond
2025-12-06 12:38:45 +01:00
parent ad8b936c7a
commit a7f3433f5f
11 changed files with 4385 additions and 2512 deletions

View File

@@ -137,7 +137,9 @@ export function useTransactions(
export function useCategoryStats() {
return useQuery({
queryKey: ["category-stats"],
queryFn: async (): Promise<Record<string, { count: number; total: number }>> => {
queryFn: async (): Promise<
Record<string, { count: number; total: number }>
> => {
const response = await fetch("/api/banking/categories?statsOnly=true");
if (!response.ok) {
throw new Error("Failed to fetch category stats");