diff --git a/src/store/store.ts b/src/store/store.ts
index 7c5e74fd41d4fe3f4e40526a4b075785f5ebf160..3348dcf8f15bd1514dbc12ae164d0c4355077756 100644
--- a/src/store/store.ts
+++ b/src/store/store.ts
@@ -1,4 +1,4 @@
-import { configureStore } from '@reduxjs/toolkit'
+import { Dispatch, configureStore } from '@reduxjs/toolkit'
 import * as Sentry from '@sentry/react'
 import { Client } from 'cozy-client'
 import {
@@ -79,4 +79,5 @@ export const setupStore = (client: Client) => {
   return store
 }
 
-export type AppDispatch = ReturnType<typeof setupStore>['dispatch']
+// export type AppDispatch = ReturnType<typeof setupStore>['dispatch']
+export type AppDispatch = Dispatch<any>