From 15b575b99f44c40453091d4343456b0e68061be2 Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 5 May 2022 16:27:49 +0430 Subject: [PATCH] update App.js, src/components/BoxNextToEachOther/index.js, src/components/ProfileInfo/index.js and src/components/UserProfileInfo/index.js --- src/App.js | 6 +++--- src/components/BoxNextToEachOther/index.js | 4 ++-- src/components/UserProfileInfo/index.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index b4087e8..ac13d7b 100644 --- a/src/App.js +++ b/src/App.js @@ -240,13 +240,13 @@ function App() { {/* */} {/* ----------------------------$$$ end---------------------------- */} - + {/* */} {/* ----------------------------$$$ start---------------------------- */} {/* */} {/* ----------------------------$$$ end---------------------------- */} - + {/* */} {/* ----------------------------$$$ start---------------------------- */} {/* */} @@ -255,7 +255,7 @@ function App() { {/* */} {/* ----------------------------$$$ end---------------------------- */} - + {/* */} diff --git a/src/components/BoxNextToEachOther/index.js b/src/components/BoxNextToEachOther/index.js index ed6c49a..bac9f46 100644 --- a/src/components/BoxNextToEachOther/index.js +++ b/src/components/BoxNextToEachOther/index.js @@ -6,11 +6,11 @@ const BoxNextToEachOther = ({ items }) => { const [active, setActive] = useState(null); return ( -
+
{items.map((item, index) => (
setActive(active === item ? null : item)} diff --git a/src/components/UserProfileInfo/index.js b/src/components/UserProfileInfo/index.js index 09d66da..76360eb 100644 --- a/src/components/UserProfileInfo/index.js +++ b/src/components/UserProfileInfo/index.js @@ -7,7 +7,7 @@ import DateTime from "../DateTime"; const UserProfileInfo = () => { return (
- {" "} +