Description: Evaluate the current state management setup, remove Context API usage where Redux is more appropriate, and consolidate all state management into Redux to simplify the data flow and maintain consistency.
Tasks:
[x] Review all instances where Context API is currently used within the authentication flow.
[x] Determine which state could be managed more effectively with Redux.
[x] Refactor components to connect to the Redux store instead of using Context API.
[x] Ensure actions and reducers are properly typed to maintain consistency and prevent errors.
[x] Test thoroughly to make sure that the Redux implementation works across all components previously using Context API.
Description: Evaluate the current state management setup, remove Context API usage where Redux is more appropriate, and consolidate all state management into Redux to simplify the data flow and maintain consistency.
Tasks: