Skip to content

Commit 7fe5413

Browse files
committed
change example back to v8 usage
1 parent f382b34 commit 7fe5413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/customizing-create-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
reactHooksModule,
3636
} from '@reduxjs/toolkit/query/react'
3737

38-
const MyContext = React.createContext<ReactReduxContextValue | null>(null)
38+
const MyContext = React.createContext<ReactReduxContextValue>(null as any)
3939
const customCreateApi = buildCreateApi(
4040
coreModule(),
4141
reactHooksModule({

0 commit comments

Comments
 (0)