refactor period (rolling/calender) to periodType
This commit is contained in:
@@ -139,8 +139,8 @@ export default function DashboardView({
|
||||
title={section.title}
|
||||
accentColor={colors.primary}
|
||||
colorScheme={colors}
|
||||
period={period}
|
||||
onPeriodChange={(p: any) => setState(prev => ({ ...prev, period: p }))}
|
||||
periodType={period}
|
||||
onPeriodTypeChange={(p: any) => setState(prev => ({ ...prev, period: p }))}
|
||||
comparison={comparison}
|
||||
setComparison={(c: any) => setState(prev => ({ ...prev, comparison: c }))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user