Skip to content

Commit fbedaa1

Browse files
committed
route config
1 parent 5c4f7cc commit fbedaa1

File tree

1 file changed

+5
-1
lines changed
  • server/client/src/components

1 file changed

+5
-1
lines changed

server/client/src/components/App.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ const Landing = () => <h2>Landing</h2>;
99
const App = () => {
1010
return (
1111
<div>
12-
Hi There!
12+
<BrowserRouter>
13+
<div>
14+
<Route path="/" component={Landing} />
15+
</div>
16+
</BrowserRouter>
1317
</div>
1418
);
1519
};

0 commit comments

Comments
 (0)