Skip to content

Commit

Permalink
Don't require allowSyntheticDefaultImports: true (reduxjs#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
apepper authored Jun 10, 2022
1 parent d0311c1 commit 7882dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import { createContext } from 'react'
import type { Action, AnyAction, Store } from 'redux'
import type { Subscription } from '../utils/Subscription'

Expand All @@ -12,7 +12,7 @@ export interface ReactReduxContextValue<
}

export const ReactReduxContext =
/*#__PURE__*/ React.createContext<ReactReduxContextValue>(null as any)
/*#__PURE__*/ createContext<ReactReduxContextValue>(null as any)

export type ReactReduxContextInstance = typeof ReactReduxContext

Expand Down

0 comments on commit 7882dfc

Please sign in to comment.