Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Aug 26, 2023
1 parent 9b8dcfe commit 9455c49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hooks/useSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ const refEquality: EqualityFn<any> = (a, b) => a === b
* @returns {Function} A `useSelector` hook bound to the specified context.
*/
export function createSelectorHook(
context: React.Context<ReactReduxContextValue<any, any>> = ReactReduxContext
context: React.Context<ReactReduxContextValue<
any,
any
> | null> = ReactReduxContext
): UseSelector {
const useReduxContext =
context === ReactReduxContext
Expand Down

0 comments on commit 9455c49

Please sign in to comment.