We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf680c commit 7f8fc5fCopy full SHA for 7f8fc5f
src/App.js
@@ -5,7 +5,6 @@ import {
5
Route
6
} from 'react-router-dom'
7
8
-import HelloWorld from './Components/HelloWorld'
9
import Header from './Components/Header'
10
import Footer from './Components/Footer'
11
import Home from './Views/Home'
@@ -19,8 +18,6 @@ function App() {
19
18
<Router>
20
<Header />
21
22
- <HelloWorld name="Drake"/>
23
-
24
<Switch>
25
<Route exact path="/">
26
<Home/>
src/Views/Home.js
@@ -1,10 +1,11 @@
1
import React from 'react'
2
+import HelloWorld from '../Components/HelloWorld'
3
4
function Home(){
return (
<div>
<h1 className="font-bold text-2xl">Home page</h1>
- <p>Home page content</p>
+ <HelloWorld name="Drake"/>
</div>
)
}
0 commit comments