ayon-frontend
ayon-frontend copied to clipboard
Clean up authentication
- [ ] Use RTK mutation instead of axios.
- [ ] Set axios and RTK headers inside useLogin mutation.
- [ ] Clean up naming convention for user slice.
- [ ] Create a helper hook for checking for user auth.
https://redux-toolkit.js.org/rtk-query/usage/examples#authentication