Skip to content

Commit f48d643

Browse files
committed
misc fixes
1 parent f8b562e commit f48d643

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

reactjsfoundations.com/src/chapter12/NestedRoutes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ function Reports() {
1515

1616
return (
1717
<>
18-
{/*<div>
19-
<h2>Reports</h2>
18+
<div>
19+
<h2>Reports</h2>
2020
<ul>
2121
<li>
2222
<Link to={`${url}/profitloss`}>Profit and Loss</Link>
@@ -37,7 +37,7 @@ function Reports() {
3737
<Report />
3838
</Route>
3939
</Switch>
40-
</div> */}
40+
</div>{' '}
4141
<SyntaxHighlighter language="javascript" style={github}>
4242
{`import {
4343
BrowserRouter as Router,

reactjsfoundations.com/src/routes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3269,7 +3269,7 @@ export default Route;
32693269

32703270
<Chapter12.ViewLocation />
32713271
</Route>
3272-
{/* <Route path="/listing1216">
3272+
<Route path="/listing1216">
32733273
<Helmet>
32743274
<title>
32753275
ReactJS Foundations: Dynamic Links and Routes in nested Routes
@@ -3279,7 +3279,7 @@ export default Route;
32793279
<PrevNext prev="/listing1215" next="/listing1301" />
32803280

32813281
<Chapter12.NestedRoutes />
3282-
</Route> */}
3282+
</Route>
32833283
<Route path="/listing1301">
32843284
<Helmet>
32853285
<title>ReactJS Foundations: An ErrorBoundary component</title>

0 commit comments

Comments
 (0)