File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,16 @@ import Buttons from "./Components/Buttons";
88
99const root = document . getElementById ( "root" ) ;
1010
11+ const Context = React . createContext ( { } ) ;
12+
1113ReactDOM . render (
1214 < BrowserRouter >
15+ < Context . Provider value = { { bullshit : 'bullshit' } } >
1316 < Nav />
1417 < Routes >
1518 < Route path = "/tictactoe" element = { < Board /> } />
1619 < Route path = "/" element = { < Home /> } />
1720 < Route path = "/buttons" element = { < Buttons /> } />
1821 </ Routes >
22+ </ Context . Provider >
1923 </ BrowserRouter > , root ) ;
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ function createTree(
184184 } = currentFiber ;
185185
186186// check to see if we can get the information we were looking for
187+ // need to figure out what tag is
187188 if ( tag === 5 ) {
188189 try {
189190 if ( memoizedProps . children [ 0 ] . _owner ?. memoizedProps !== undefined ) {
You can’t perform that action at this time.
0 commit comments