Open MinaRoh opened 4 hours ago
Hello, we tried to solve the issue.
This is what we did:
Modified useAddGoalMutation and useDeleteGoalMutation hooks to invalidate and refetch the 'todos' query along with the 'goals' query. This ensures that the dashboard's recent todos are updated when goals are added or deleted.
You can review changes in this commit: https://github.com/mnmnk43434/FESI-4-4-slid-todo-373/commit/067b313cbb69525e587075f6351af4838ef9ae5a.
[!CAUTION] Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
이슈 내용
✅ To Dos