From 39f7a43270b34f9a1ca3e9bbf9e5654ab42481af Mon Sep 17 00:00:00 2001 From: Richard Hagen Date: Wed, 17 Jan 2024 08:23:13 +0100 Subject: [PATCH] fjernet `keepUnusedDataFor` --- src/store/configs/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/store/configs/index.ts b/src/store/configs/index.ts index 313136208..6ea7bf58a 100644 --- a/src/store/configs/index.ts +++ b/src/store/configs/index.ts @@ -11,7 +11,6 @@ const responseHandler: ResponseHandler = (response) => { export const costStoreApi = createApi({ reducerPath: 'costApi', - keepUnusedDataFor: 24 * 60 * 60 * 1000, baseQuery: fetchBaseQuery({ baseUrl: '/cost-api' }), endpoints: () => ({}), });