mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): do not blacklist the rtk query events
doing so breaks the devtools
This commit is contained in:
parent
834774ce4c
commit
66b12ab0ea
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user