Skip to content
Snippets Groups Projects
Commit d5674958 authored by Martin Wighus Holtmon's avatar Martin Wighus Holtmon
Browse files

projectFirstPart/P5 - Moved header to dom

parent 5cd5449f
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ class P5 extends React.Component {
render() {
return (
<div>
<Header />
<HashRouter>
<Link to="/states">States</Link>
<Link to="/example">Example</Link>
......@@ -25,6 +24,9 @@ class P5 extends React.Component {
}
ReactDOM.render(
<P5/>,
<>
<Header/>
<P5/>
</>,
document.getElementById('reactapp'),
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment