refactor: remove unused imports and improve variable naming for clarity in statistics and transactions components

This commit is contained in:
Julien Froidefond
2025-12-01 08:35:33 +01:00
parent b3b25412ad
commit 757b1b84ab
5 changed files with 4 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ import {
Cell,
Tooltip,
ResponsiveContainer,
Legend,
} from "recharts";
import { Layers, List, ChevronDown, ChevronUp } from "lucide-react";
import type { Category } from "@/lib/types";
@@ -38,7 +37,7 @@ interface CategoryPieChartProps {
export function CategoryPieChart({
data,
dataByParent,
categories = [],
categories: _categories = [],
formatCurrency,
title = "Répartition par catégorie",
height = 300,