Skip to content

Commit a08c1f6

Browse files
committed
still updating
1 parent adb5cbf commit a08c1f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/components/DiffRoute.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
// Raw
1919
// </NavLink>
2020
// </div>
21-
// <Switch>
21+
// <Routes>
2222
// <Route path='/diffRaw' render={() => <Diff snapshot={props.snapshot} show />} />
2323
// <Route path='/' render={() => <Diff snapshot={props.snapshot} show={false} />} />
24-
// </Switch>
24+
// </Routes>
2525
// </Router>
2626
// );
2727

src/app/containers/StateContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const StateContainer = (props: StateContainerProps): JSX.Element => {
3333
</NavLink>
3434
</div>
3535
</div>
36-
<Switch>
36+
<Routes>
3737
<Route path='/diff' render={() => <DiffRoute snapshot={snapshot} />} />
3838
<Route
3939
path='/'
@@ -48,7 +48,7 @@ const StateContainer = (props: StateContainerProps): JSX.Element => {
4848
/>
4949
{/* )}
5050
/>
51-
</Switch> */}
51+
</Routes> */}
5252
</div>
5353
// </Router>
5454
);

0 commit comments

Comments
 (0)