From b05c519571e9bcee2a2d87fd9ad3e60acdbb6e6e Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 20 Jun 2023 22:48:55 +0100 Subject: [PATCH] adjusted market toggle position --- src/components/MarketPlace/MainSection.jsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/MarketPlace/MainSection.jsx b/src/components/MarketPlace/MainSection.jsx index 1283e1a..4f22f3a 100644 --- a/src/components/MarketPlace/MainSection.jsx +++ b/src/components/MarketPlace/MainSection.jsx @@ -41,6 +41,18 @@ export default function MainSection({ return (
+ {/* contentDisplay toggler */} +
+
+ setContentDisplay((prev)=>prev=='grid'? 'list' : 'grid')} + src={contentDisplay=='grid'? ListView : GridView} + className="w-full h-full cursor-pointer" alt="view" + /> +
+
+ {/* end of contentDisplay toggler */}
@@ -60,16 +72,14 @@ export default function MainSection({
{/* contentDisplay toggler */} -
- {/*
*/} + {/*
setContentDisplay((prev)=>prev=='grid'? 'list' : 'grid')} src={contentDisplay=='grid'? ListView : GridView} className="w-full h-full cursor-pointer" alt="view" /> - {/*
*/} -
+
*/} {/* end of contentDisplay toggler */}