File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
// Raw
19
19
// </NavLink>
20
20
// </div>
21
- // <Switch >
21
+ // <Routes >
22
22
// <Route path='/diffRaw' render={() => <Diff snapshot={props.snapshot} show />} />
23
23
// <Route path='/' render={() => <Diff snapshot={props.snapshot} show={false} />} />
24
- // </Switch >
24
+ // </Routes >
25
25
// </Router>
26
26
// );
27
27
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const StateContainer = (props: StateContainerProps): JSX.Element => {
33
33
</NavLink>
34
34
</div>
35
35
</div>
36
- <Switch >
36
+ <Routes >
37
37
<Route path='/diff' render={() => <DiffRoute snapshot={snapshot} />} />
38
38
<Route
39
39
path='/'
@@ -48,7 +48,7 @@ const StateContainer = (props: StateContainerProps): JSX.Element => {
48
48
/>
49
49
{ /* )}
50
50
/>
51
- </Switch > */ }
51
+ </Routes > */ }
52
52
</ div >
53
53
// </Router>
54
54
) ;
You can’t perform that action at this time.
0 commit comments