From 7d3c054aae8e0003c877f9383fd7398dd6cbab1c Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Thu, 3 Sep 2020 23:13:42 -0700 Subject: fix React does not recognize the warning by adding extra react fragment --- frontend/src/components/App.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'frontend/src/components/App.js') diff --git a/frontend/src/components/App.js b/frontend/src/components/App.js index 0a5fb8b..1579ffd 100644 --- a/frontend/src/components/App.js +++ b/frontend/src/components/App.js @@ -42,33 +42,33 @@ const App = () => { return ( - } - /> -
- - - + <> + } + /> +
+ + + -
- +
} /> - -
+
-
-
+
+
+
); -- cgit v1.2.3 From 02d0122d32f436184c62920f91cbc6237def2583 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Thu, 3 Sep 2020 23:21:51 -0700 Subject: fix computed match warn by adding additional route comp --- frontend/src/components/App.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'frontend/src/components/App.js') diff --git a/frontend/src/components/App.js b/frontend/src/components/App.js index 1579ffd..543cd46 100644 --- a/frontend/src/components/App.js +++ b/frontend/src/components/App.js @@ -42,10 +42,10 @@ const App = () => { return ( - <> - } - /> + } + /> +
- +
); -- cgit v1.2.3