Fix data loading issues

Addresses issues where budget data is missing on expense and analytics pages, and where transactions are being automatically created.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 08:10:31 +00:00
parent 6e58f95dca
commit 32a6832b84
3 changed files with 5 additions and 36 deletions

View File

@@ -27,6 +27,7 @@ export const loadTransactionsFromStorage = (): Transaction[] => {
} catch (error) {
console.error('트랜잭션 데이터 파싱 오류:', error);
}
// 데이터가 없을 경우 빈 배열 반환 (샘플 데이터 생성하지 않음)
return [];
};