From e10f5fd210e76ff1f361db3b728f829111825b01 Mon Sep 17 00:00:00 2001
From: Martin Wighus Holtmon <martinwh@stud.ntnu.no>
Date: Sun, 7 Nov 2021 15:16:29 +0100
Subject: [PATCH] projectFirstPart/p4-p5: changed from <> to <div> in dom
 render

---
 projectFirstPart/p4.jsx | 4 ++--
 projectFirstPart/p5.jsx | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/projectFirstPart/p4.jsx b/projectFirstPart/p4.jsx
index 733ad23..ef18957 100644
--- a/projectFirstPart/p4.jsx
+++ b/projectFirstPart/p4.jsx
@@ -25,9 +25,9 @@ class P4 extends React.Component {
 }
 
 ReactDOM.render(
-    <>
+    <div>
         <Header />
         <P4 />
-    </>,
+    </div>,
     document.getElementById('reactapp'),
 );
diff --git a/projectFirstPart/p5.jsx b/projectFirstPart/p5.jsx
index d98b9af..bbce28f 100644
--- a/projectFirstPart/p5.jsx
+++ b/projectFirstPart/p5.jsx
@@ -24,9 +24,9 @@ class P5 extends React.Component {
 }
 
 ReactDOM.render(
-  <>
-    <Header/>
-    <P5/>
-  </>,
+  <div>
+    <Header />
+    <P5 />
+  </div>,
   document.getElementById('reactapp'),
 );
-- 
GitLab