From 60f5136c69dcecd0d99a8a07291cb5cfaaca67af Mon Sep 17 00:00:00 2001 From: Nevo David Date: Tue, 9 Jul 2024 21:20:07 +0700 Subject: [PATCH] feat: marketplace not opened --- .../src/components/marketplace/buyer.tsx | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/apps/frontend/src/components/marketplace/buyer.tsx b/apps/frontend/src/components/marketplace/buyer.tsx index 71d04e6c..60db9c8c 100644 --- a/apps/frontend/src/components/marketplace/buyer.tsx +++ b/apps/frontend/src/components/marketplace/buyer.tsx @@ -122,19 +122,6 @@ const Pagination: FC<{ results: number }> = (props) => { [page] ); - return ( -
-
- -
-
- The marketplace is not opened yet -
- Check again soon! -
-
- ); - if (results < 8) { return null; } @@ -530,6 +517,20 @@ export const Buyer = () => { }, [services]); const { data: list } = useSWR('search' + services + page, marketplace); + + return ( +
+
+ +
+
+ The marketplace is not opened yet +
+ Check again soon! +
+
+ ); + return ( <>