From 07b652c8ffdb500ebf8a9995d4db47d4618cc809 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 15:04:01 +0430 Subject: [PATCH] update App.js, src/components/ReligiousTimes/index.js and src/components/Sidebar/SidebarDesign2/index.js --- src/App.js | 4 ++-- src/components/ReligiousTimes/index.js | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index b9aa04f..036c2a5 100644 --- a/src/App.js +++ b/src/App.js @@ -107,7 +107,7 @@ function App() { {/* */} {/* */} {/* */} - + {/* */} {/* */} {/* */} {/* */} @@ -116,7 +116,7 @@ function App() { {/* */} {/* */} {/* */} - {/* */} + {/* */} {/* */} {/* */} diff --git a/src/components/ReligiousTimes/index.js b/src/components/ReligiousTimes/index.js index f23ebfc..1fce9f2 100644 --- a/src/components/ReligiousTimes/index.js +++ b/src/components/ReligiousTimes/index.js @@ -11,15 +11,18 @@ const time = { const ReligiousTimes = ({hours}) => { return ( -
+
{Object.keys(hours).map((hour, index) => ( -
+
- {time[hour]} + {time[hour]} - {hours[hour]} + {hours[hour]} + {Number(index) !== hours.length -1 && ( +
+ )}
))}