diff --git a/src/stores/statistics.ts b/src/stores/statistics.ts index 7deef649..f308002b 100644 --- a/src/stores/statistics.ts +++ b/src/stores/statistics.ts @@ -89,7 +89,7 @@ interface WritableTransactionCategoricalAnalysisDataItem { percent?: number; } -interface WritableTransactioTrendsAnalysisDataItem { +interface WritableTransactionTrendsAnalysisDataItem { name: string; type: TransactionStatisticDataItemType; id: string; @@ -373,7 +373,7 @@ export const useStatisticsStore = defineStore('statistics', () => { return null; } - const combinedDataMap: Record = {}; + const combinedDataMap: Record = {}; for (let i = 0; i < transactionCategoryTrendsDataWithCategoryAndAccountInfo.value.length; i++) { const trendItem = transactionCategoryTrendsDataWithCategoryAndAccountInfo.value[i];