Skip to content

Commit bb99801

Browse files
committed
fix(app.tsx): move div outside of the switch
fix #58
1 parent 92e9b3a commit bb99801

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ const App: React.FC = () => {
99
return (
1010
<BrowserRouter>
1111
<Navbar />
12-
<Switch>
13-
<div className="container">
12+
<div className="container">
13+
<Switch>
1414
<Route path="/" component={Home} exact />
1515
<Route path="/about" component={About} />
16-
</div>
17-
</Switch>
16+
</Switch>
17+
</div>
1818
</BrowserRouter>
1919
)
2020
}

0 commit comments

Comments
 (0)