diff --git a/projectFirstPart/p4.jsx b/projectFirstPart/p4.jsx
index 1e29a013e42bf87ca57452c445c1ed9557a2b2ef..733ad239254f4ac176e4e8689cdde95d8508176c 100644
--- a/projectFirstPart/p4.jsx
+++ b/projectFirstPart/p4.jsx
@@ -17,7 +17,6 @@ class P4 extends React.Component {
     render() {
         return(
             <div>
-                <Header />
                 <button type="button" onClick={this.handleButtonClick}>Switch to {this.state.nextPage.name}</button>
                 <this.state.activePage />
             </div>
@@ -26,6 +25,9 @@ class P4 extends React.Component {
 }
 
 ReactDOM.render(
-    <P4/>,
+    <>
+        <Header />
+        <P4 />
+    </>,
     document.getElementById('reactapp'),
 );