We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87cc97 commit 44d4805Copy full SHA for 44d4805
docs/rtk-query/usage/persistence-and-rehydration.mdx
@@ -52,7 +52,7 @@ export const api = createApi({
52
// highlight-start
53
extractRehydrationInfo(action, { reducerPath }) {
54
if (isHydrateAction(action)) {
55
- if (action.key === 'key used with redux-persist') {
+ if ((action as any).key === 'key used with redux-persist') {
56
// when persisting the api reducer
57
return action.payload
58
}
0 commit comments