chore: standardize quotes in pnpm-lock.yaml and clean up formatting in various files for improved readability
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user