Skip to content

Commit 7882dfc

Browse files
authored
Don't require allowSyntheticDefaultImports: true (#1924)
1 parent d0311c1 commit 7882dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import { createContext } from 'react'
22
import type { Action, AnyAction, Store } from 'redux'
33
import type { Subscription } from '../utils/Subscription'
44

@@ -12,7 +12,7 @@ export interface ReactReduxContextValue<
1212
}
1313

1414
export const ReactReduxContext =
15-
/*#__PURE__*/ React.createContext<ReactReduxContextValue>(null as any)
15+
/*#__PURE__*/ createContext<ReactReduxContextValue>(null as any)
1616

1717
export type ReactReduxContextInstance = typeof ReactReduxContext
1818

0 commit comments

Comments
 (0)