From d0274013cf4ae2fde0fc9b99b19dc81eb6ff3111 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 25 Jan 2025 15:03:53 +0800 Subject: [PATCH] fix typo --- src/stores/statistics.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];