We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb4e25 commit 43def1cCopy full SHA for 43def1c
src/context.ts
@@ -6,6 +6,6 @@ export interface DrawerContextProps {
6
pull: VoidFunction;
7
}
8
9
-const DrawerContext = React.createContext<DrawerContextProps>({});
+const DrawerContext = React.createContext<DrawerContextProps>(null);
10
11
export default DrawerContext;
0 commit comments