File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { useContext } from 'react'
2
- import { Action , AnyAction , Store } from 'redux'
3
2
import { ReactReduxContext } from '../components/Context'
4
- import type { FixTypeLater } from '../types'
5
3
import { useReduxContext as useDefaultReduxContext } from './useReduxContext'
6
4
7
5
/**
@@ -11,7 +9,7 @@ import { useReduxContext as useDefaultReduxContext } from './useReduxContext'
11
9
* @returns {Function } A `useStore` hook bound to the specified context.
12
10
*/
13
11
14
- export function createStoreHook < S = FixTypeLater , A extends Action = AnyAction > ( context = ReactReduxContext ) {
12
+ export function createStoreHook ( context = ReactReduxContext ) {
15
13
const useReduxContext =
16
14
context === ReactReduxContext
17
15
? useDefaultReduxContext
You can’t perform that action at this time.
0 commit comments