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 5cc757c commit 5243a57Copy full SHA for 5243a57
demo-app/src/client/Router.tsx
@@ -8,16 +8,13 @@ import Buttons from "./Components/Buttons";
8
9
const root = document.getElementById("root");
10
11
-const Context = React.createContext({});
12
13
ReactDOM.render(
14
<BrowserRouter>
15
- <Context.Provider value={{ bullshit: 'bullshit' }}>
16
<Nav />
17
<Routes>
18
<Route path="/tictactoe" element={<Board />}/>
19
<Route path="/" element={<Home />}/>
20
<Route path="/buttons" element={<Buttons />}/>
21
</Routes>
22
- </Context.Provider>
23
</BrowserRouter>, root);
0 commit comments