From cab5debfb7b1f00c8c8ea9de3fc886d54726874b Mon Sep 17 00:00:00 2001 From: Ebube Date: Wed, 28 Feb 2024 11:41:17 +0100 Subject: [PATCH] Added icon toggler --- src/components/Partials/RightSideBar.jsx | 37 ++++++++++++++++-------- 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/components/Partials/RightSideBar.jsx b/src/components/Partials/RightSideBar.jsx index 9974a09..8de8b76 100644 --- a/src/components/Partials/RightSideBar.jsx +++ b/src/components/Partials/RightSideBar.jsx @@ -158,17 +158,30 @@ export default function RightSideBar({ myJobList }) { {/* dark mode */}
-
- + + {darkMode.theme === "light" ? ( + + + ) : ( + - -

- {darkMode.theme === "light" ? "Dark" : "Light"} Mode -

-
+ )} + +

+ {darkMode.theme === "light" ? "Dark" : "Light"} Mode +