From 715002538e1f887d4b20c56f4fb109c3633de2fe Mon Sep 17 00:00:00 2001 From: Ayush Srivastava Date: Sun, 7 Aug 2022 14:59:24 +0530 Subject: [PATCH] changed class to className and made destructured props in Leftbar.js --- components/core/LeftBar.js | 8 ++++---- components/core/Loader.js | 6 +++--- pages/app.js | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/core/LeftBar.js b/components/core/LeftBar.js index 3f3feb6..6be02bf 100644 --- a/components/core/LeftBar.js +++ b/components/core/LeftBar.js @@ -60,10 +60,10 @@ const LeftBar = ({ data, setData, children, setChildren }) => { ]; const props = { - data: data, - setData: setData, - children: children, - setChildren: setChildren, + data, + setData, + children, + setChildren, }; const twitterShareLink = diff --git a/components/core/Loader.js b/components/core/Loader.js index 6f3edee..d6d4747 100644 --- a/components/core/Loader.js +++ b/components/core/Loader.js @@ -2,9 +2,9 @@ import React from "react"; const Loader = () => { return ( -
-
-
+
+
+
); }; diff --git a/pages/app.js b/pages/app.js index 933415e..9657ea2 100644 --- a/pages/app.js +++ b/pages/app.js @@ -44,7 +44,7 @@ const app = (props) => {