Skip to content

Commit 43def1c

Browse files
committed
fix: compile
1 parent 7cb4e25 commit 43def1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export interface DrawerContextProps {
66
pull: VoidFunction;
77
}
88

9-
const DrawerContext = React.createContext<DrawerContextProps>({});
9+
const DrawerContext = React.createContext<DrawerContextProps>(null);
1010

1111
export default DrawerContext;

0 commit comments

Comments
 (0)