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

@@ -12,10 +12,7 @@ import { useQueryClient } from "@tanstack/react-query";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Sparkles, RefreshCw } from "lucide-react";
import {
updateCategory,
autoCategorize,
} from "@/lib/store-db";
import { updateCategory, autoCategorize } from "@/lib/store-db";
import {
normalizeDescription,
suggestKeyword,
@@ -33,7 +30,7 @@ interface TransactionGroup {
export default function RulesPage() {
const queryClient = useQueryClient();
const { data: metadata, isLoading: isLoadingMetadata } = useBankingMetadata();
// Fetch uncategorized transactions only
const {
data: transactionsData,
@@ -260,7 +257,12 @@ export default function RulesPage() {
[refresh],
);
if (isLoadingMetadata || !metadata || isLoadingTransactions || !transactionsData) {
if (
isLoadingMetadata ||
!metadata ||
isLoadingTransactions ||
!transactionsData
) {
return <LoadingState />;
}