fix chart data type default value error

This commit is contained in:
MaysWind
2021-02-06 00:54:57 +08:00
parent 6c04adbd06
commit 3a825154e2
+1 -1
View File
@@ -42,7 +42,7 @@ const allChartDataTypes = {
} }
}; };
const defaultChartDataType = allChartDataTypes.ExpenseByPrimaryCategory; const defaultChartDataType = allChartDataTypes.ExpenseByPrimaryCategory.type;
const allSortingTypes = { const allSortingTypes = {
ByAmount: 0, ByAmount: 0,