refactor: remove unused imports and improve variable naming for clarity in statistics and transactions components
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user