refactor period (rolling/calender) to periodType

This commit is contained in:
2026-05-01 17:15:16 +05:30
parent 1daa90d091
commit e82cad4f21
3 changed files with 5 additions and 5 deletions

View File

@@ -1,11 +1,11 @@
import * as React from "react";
export type DashboardMode = "expense" | "income";
export type DashboardPeriod = "rolling" | "calendar";
export type DashboardPeriodType = "rolling" | "calendar";
export interface DashboardState {
mode: DashboardMode;
period: DashboardPeriod;
periodType: DashboardPeriodType;
comparison: boolean;
}