Skip to content

Commit 2054da8

Browse files
committed
correct useStoreContext type err
1 parent 65134d1 commit 2054da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/store.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import React, { useContext } from 'react';
22

33
export const StoreContext = React.createContext();
44

5-
export const useStoreContext = () => useContext(StoreContext);
5+
export const useStoreContext:any = () => useContext(StoreContext);

0 commit comments

Comments
 (0)