Closed sergkudinov closed 1 year ago
@PaulFarault
If we validate this solution, I can continue refactoring. This will optimize the code base a lot, because RTK Query does many things under the hood that you do manually with Redux.
It will also require moving the storage of user session to Redux state. Because, user access_token is required here, and there is no another proper way to pass it over there.
This PR is replaced by #202
Which issue(s) this PR fixes
Fixes #173
Additional comments
This is just a beginning with:
<Menu>
components displaying the servecies in the sidebarUsage:
To generate RTK Query endpoints run:
It creates/overrides the
./src/services/tdpApi.ts
file.Agreements