refactor period (rolling/calender) to periodType

This commit is contained in:
2026-05-01 17:13:13 +05:30
parent 2d0b0bc470
commit 1daa90d091
2 changed files with 5 additions and 5 deletions

View File

@@ -25,8 +25,8 @@ export interface HistoryChartProps {
summary?: string;
tabs: string[];
data: ChartData;
period: "rolling" | "calendar";
onPeriodChange: (p: "rolling" | "calendar") => void;
periodType: "rolling" | "calendar";
onPeriodTypeChange: (p: "rolling" | "calendar") => void;
comparison: boolean;
setComparison: (v: boolean) => void;
colorScheme: {