refactor: clean up imports and enhance type definitions across multiple components for improved clarity and maintainability

This commit is contained in:
Julien Froidefond
2025-11-29 18:03:19 +01:00
parent cd704c7d54
commit c082ab5e63
7 changed files with 10 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ import {
normalizeDescription,
suggestKeyword,
} from "@/components/rules/constants";
import type { Transaction, Category } from "@/lib/types";
import type { Transaction } from "@/lib/types";
interface TransactionGroup {
key: string;

View File

@@ -52,7 +52,7 @@ export default function SettingsPage() {
update(importedData);
alert("Données importées avec succès");
} catch (error) {
} catch {
alert("Erreur lors de l'import");
} finally {
setImporting(false);