fix(ui): do not blacklist the rtk query events

doing so breaks the devtools
This commit is contained in:
psychedelicious 2023-07-14 16:59:13 +10:00
parent 834774ce4c
commit 66b12ab0ea

View File

@ -100,10 +100,11 @@ export const store = configureStore({
// manually type state, cannot type the arg // manually type state, cannot type the arg
// const typedState = state as ReturnType<typeof rootReducer>; // const typedState = state as ReturnType<typeof rootReducer>;
if (action.type.startsWith('api/')) { // TODO: doing this breaks the rtk query devtools, commenting out for now
// don't log api actions, with manual cache updates they are extremely noisy // if (action.type.startsWith('api/')) {
return false; // // don't log api actions, with manual cache updates they are extremely noisy
} // return false;
// }
if (actionsDenylist.includes(action.type)) { if (actionsDenylist.includes(action.type)) {
// don't log other noisy actions // don't log other noisy actions