Skip to content

Commit 355d82a

Browse files
committed
Better default value
1 parent e8eb2d1 commit 355d82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
22

3-
const RouterContext = React.unstable_createContext(0);
3+
const RouterContext = React.unstable_createContext({});
44

55
export default RouterContext;

0 commit comments

Comments
 (0)