Open allinox opened 7 months ago
We want to switch from dipatch functions in rtk slices to using rtk query whenever possible and to clear out the different page-slices to collect all nessecary states in one apiDelegationSlice such as has been done in SingleRights
### API delegation - [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/909 - [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/908 - [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/910
### SingleRights - [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/957
### General - [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/950
Maybe we should split this into more tasks since it's quite big @allinox?
We want to switch from dipatch functions in rtk slices to using rtk query whenever possible and to clear out the different page-slices to collect all nessecary states in one apiDelegationSlice such as has been done in SingleRights