From 023c27a565c439e90524ed3455f36ef19a40ecfe Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 9 Jan 2024 07:24:24 +0100 Subject: [PATCH] setupListeners is only used for rtk query and we don't use it anymore --- commafeed-client/src/app/store.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/commafeed-client/src/app/store.ts b/commafeed-client/src/app/store.ts index 5619a8d0..e7601c2c 100644 --- a/commafeed-client/src/app/store.ts +++ b/commafeed-client/src/app/store.ts @@ -1,5 +1,4 @@ import { configureStore } from "@reduxjs/toolkit" -import { setupListeners } from "@reduxjs/toolkit/query" import { entriesSlice } from "app/entries/slice" import { redirectSlice } from "app/redirect/slice" import { serverSlice } from "app/server/slice" @@ -17,8 +16,6 @@ export const reducers = { export const store = configureStore({ reducer: reducers }) -setupListeners(store.dispatch) - export type RootState = ReturnType export type AppDispatch = typeof store.dispatch