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";
8
8
9
9
const root = document . getElementById ( "root" ) ;
10
10
11
+ const Context = React . createContext ( { } ) ;
12
+
11
13
ReactDOM . render (
12
14
< BrowserRouter >
15
+ < Context . Provider value = { { bullshit : 'bullshit' } } >
13
16
< Nav />
14
17
< Routes >
15
18
< Route path = "/tictactoe" element = { < Board /> } />
16
19
< Route path = "/" element = { < Home /> } />
17
20
< Route path = "/buttons" element = { < Buttons /> } />
18
21
</ Routes >
22
+ </ Context . Provider >
19
23
</ BrowserRouter > , root ) ;
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ function createTree(
184
184
} = currentFiber ;
185
185
186
186
// check to see if we can get the information we were looking for
187
+ // need to figure out what tag is
187
188
if ( tag === 5 ) {
188
189
try {
189
190
if ( memoizedProps . children [ 0 ] . _owner ?. memoizedProps !== undefined ) {
You can’t perform that action at this time.
0 commit comments