Skip to content

Commit 026e658

Browse files
Update index.js
1 parent 91e88d7 commit 026e658

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Contact from './pages/Contact';
1111
import Login from './pages/Login';
1212
import SignUp from './pages/SignUp';
1313
import Footer from './components/Footer';
14+
import Header from './components/Header';
1415

1516
function App() {
1617
return (
@@ -23,6 +24,7 @@ function App() {
2324
<Route path='/contact' exact component={Contact} />
2425
<Route path='/login' exact component={Login} />
2526
<Route path='/signup' exact component={SignUp} />
27+
<Route path='/header' component={Header} />
2628
<Redirect to='/' />
2729
</Switch>
2830
<Footer />
@@ -31,3 +33,4 @@ function App() {
3133
}
3234

3335
ReactDOM.render(<App />, document.getElementById('root'));
36+

0 commit comments

Comments
 (0)