refactor: clean up imports and improve code consistency across various components; remove unused imports in page.tsx, add missing imports in categories page, and standardize formatting in hooks and chart components
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m30s

This commit is contained in:
Julien Froidefond
2025-12-22 08:46:59 +01:00
parent 7c3f522531
commit b2eac21bdf
6 changed files with 29 additions and 20 deletions

View File

@@ -39,7 +39,6 @@ export default function RulesPage() {
const {
data: transactionsData,
isLoading: isLoadingTransactions,
invalidate: invalidateTransactions,
} = useTransactions(
{
limit: 10000, // Large limit to get all uncategorized
@@ -49,7 +48,7 @@ export default function RulesPage() {
!!metadata,
);
const refresh = useCallback(() => {
const _refresh = useCallback(() => {
invalidateAllTransactionQueries(queryClient);
invalidateAllCategoryQueries(queryClient);
}, [queryClient]);