Commit Graph

113 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
4bacba4719 Fix login failure after connection
Addresses an issue where login fails with a "Unexpected end of JSON input" error after a successful Supabase connection.
2025-03-15 13:02:55 +00:00
gpt-engineer-app[bot]
e687047401 Refactor Login component
Splits the Login component into smaller, more manageable parts and extracts related logic into hooks to improve code organization and readability.
2025-03-15 12:39:09 +00:00
gpt-engineer-app[bot]
66c2240bb2 Address error condition
The code has an error that needs to be addressed.
2025-03-15 12:09:51 +00:00
gpt-engineer-app[bot]
8c403f9761 Refactor BudgetContext file
Refactor BudgetContext.tsx into smaller components and hooks to improve code readability and maintainability.
2025-03-15 11:08:35 +00:00
gpt-engineer-app[bot]
bbf0f75b66 Fix type errors in BudgetContext
Addresses type errors related to category budgets in BudgetContext and Index page. Specifically, ensures correct type assignment for category budget updates.
2025-03-15 10:54:24 +00:00
gpt-engineer-app[bot]
53096ae26e Implement additional improvements
This commit implements additional improvements as requested.
2025-03-15 10:52:53 +00:00
gpt-engineer-app[bot]
8e1f2de87e Remove demo mode
Removes demo mode to ensure proper Supabase functionality.
2025-03-15 10:20:14 +00:00
gpt-engineer-app[bot]
67f763eefa Update login failure message
Update the message displayed upon login failure.
2025-03-15 07:35:25 +00:00
gpt-engineer-app[bot]
41308a478e Investigate fetch failure
Investigate why fetch requests are failing.
2025-03-15 07:06:29 +00:00
gpt-engineer-app[bot]
d345f7035a Fix sign-up failure handling
The sign-up failure logic was not properly implemented. This commit addresses the issue.
2025-03-15 07:04:34 +00:00
gpt-engineer-app[bot]
0df6b8a8f5 Fix auth action return types
The authActions functions (signIn, signOut, resetPassword) were returning a promise with an object containing an error property. The AuthContextType expected these functions to return a promise that resolves to void. This commit updates the return types of these functions to Promise<void> and adjusts the logic to handle errors appropriately without returning them directly in the promise resolution.
2025-03-15 06:58:52 +00:00
gpt-engineer-app[bot]
fd34c62170 Refactor AuthContext into smaller files
Refactors the AuthContext.tsx file into smaller, more manageable files to improve code organization and maintainability. The functionality remains the same.
2025-03-15 06:57:27 +00:00
gpt-engineer-app[bot]
33f1a94a81 Implement user authentication
Implement login functionality and user authentication logic.
2025-03-15 06:50:56 +00:00