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 d0311c1 commit 7882dfcCopy full SHA for 7882dfc
src/components/Context.ts
@@ -1,4 +1,4 @@
1
-import React from 'react'
+import { createContext } from 'react'
2
import type { Action, AnyAction, Store } from 'redux'
3
import type { Subscription } from '../utils/Subscription'
4
@@ -12,7 +12,7 @@ export interface ReactReduxContextValue<
12
}
13
14
export const ReactReduxContext =
15
- /*#__PURE__*/ React.createContext<ReactReduxContextValue>(null as any)
+ /*#__PURE__*/ createContext<ReactReduxContextValue>(null as any)
16
17
export type ReactReduxContextInstance = typeof ReactReduxContext
18
0 commit comments