Commit Graph

16 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
82ab8e3504 Reduce token usage
The prompt indicated that the previous implementation was consuming too many tokens. This commit aims to reduce token usage.
2025-03-18 05:42:34 +00:00
gpt-engineer-app[bot]
915967a9ac Fix deletion UI freeze
Addresses the issue where the UI becomes unresponsive after deleting a transaction.
2025-03-18 05:39:29 +00:00
gpt-engineer-app[bot]
152586cd1b Investigate transaction deletion issue
Further investigate the issue where deleting transactions causes the application to freeze.
2025-03-18 05:17:41 +00:00
gpt-engineer-app[bot]
2b8069a150 Review expense history page 2025-03-18 04:12:54 +00:00
gpt-engineer-app[bot]
a0074c2d1d Fix: Resolve duplicate function definition
The `deleteTransactionFromSupabase` function was defined in both `deleteTransactionStorage.ts` and `supabaseUtils.ts`. This commit removes the duplicate definition from `deleteTransactionStorage.ts` to resolve the error.
2025-03-18 04:07:57 +00:00
gpt-engineer-app[bot]
1dcd63cb12 Fix TypeScript errors
Fixes TypeScript errors related to type assignments and declaration conflicts. Specifically, addresses the type mismatch in `TransactionEditDialog.tsx` and declaration conflicts in `deleteTransactionStorage.ts`.
2025-03-18 04:07:08 +00:00
gpt-engineer-app[bot]
1fc2ee8a15 Fix transaction deletion issue
Addresses the issue where deleting transactions would sometimes cause the application to freeze.
2025-03-18 04:05:23 +00:00
gpt-engineer-app[bot]
a63c8f1b16 Fix: Resolve "useEffect" error
The code was throwing a "Cannot find name 'useEffect'" error. This commit fixes the error by importing the useEffect hook from react.
2025-03-18 03:53:15 +00:00
gpt-engineer-app[bot]
27b4e3274e Fix transaction deletion issue
Addresses the issue where deleting a transaction in the transaction history would cause the application to freeze.
2025-03-18 03:51:17 +00:00
gpt-engineer-app[bot]
71aebf8b5b Format dates for synchronization
Use ISO format for data synchronization and user-friendly format for display.
2025-03-17 23:47:05 +00:00
gpt-engineer-app[bot]
ce12e99f6d Fix transaction deletion issue
Addresses an issue where the application becomes unresponsive after deleting a transaction.
2025-03-17 23:41:03 +00:00
gpt-engineer-app[bot]
196c071b53 Fix undefined isCanceled variable
The variable `isCanceled` was not defined in the scope of the `setTimeout` callback within `deleteTransactionCore.ts`, leading to an error. This commit defines `isCanceled` within the scope to resolve the issue.
2025-03-17 23:38:44 +00:00
gpt-engineer-app[bot]
783dd9ce99 Fix transaction deletion issue
Addresses the issue where the transaction history page becomes unresponsive after deleting a transaction.
2025-03-17 23:37:06 +00:00
gpt-engineer-app[bot]
042965461e Fix: Resolve issue with transaction display
Addresses a bug where transactions were not displayed on the transaction history page and expense amounts were showing as zero.
2025-03-17 23:32:02 +00:00
gpt-engineer-app[bot]
a9974f9877 Refactor deleteTransaction hook
Refactors the `deleteTransaction` hook into smaller, more manageable units to improve code maintainability.
2025-03-17 23:25:30 +00:00
gpt-engineer-app[bot]
9db57e10db Refactor useTransactionsOperations hook
Refactor the useTransactionsOperations.ts file into smaller modules for better code organization and maintainability, without changing any functionality.
2025-03-17 16:39:10 +00:00