Skip to content

Commit 5243a57

Browse files
authored
Update Router.tsx
Getting rid of context api code that was not being used
1 parent 5cc757c commit 5243a57

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

demo-app/src/client/Router.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ import Buttons from "./Components/Buttons";
88

99
const root = document.getElementById("root");
1010

11-
const Context = React.createContext({});
1211

1312
ReactDOM.render(
1413
<BrowserRouter>
15-
<Context.Provider value={{ bullshit: 'bullshit' }}>
1614
<Nav />
1715
<Routes>
1816
<Route path="/tictactoe" element={<Board />}/>
1917
<Route path="/" element={<Home />}/>
2018
<Route path="/buttons" element={<Buttons />}/>
2119
</Routes>
22-
</Context.Provider>
2320
</BrowserRouter>, root);

0 commit comments

Comments
 (0)