feat: marketplace not opened
This commit is contained in:
parent
1e661e56cd
commit
60f5136c69
|
|
@ -122,19 +122,6 @@ const Pagination: FC<{ results: number }> = (props) => {
|
||||||
[page]
|
[page]
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="flex flex-col items-center mt-[100px] gap-[27px] text-center">
|
|
||||||
<div>
|
|
||||||
<img src="/peoplemarketplace.svg" />
|
|
||||||
</div>
|
|
||||||
<div className="text-[48px]">
|
|
||||||
The marketplace is not opened yet
|
|
||||||
<br />
|
|
||||||
Check again soon!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
if (results < 8) {
|
if (results < 8) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
@ -530,6 +517,20 @@ export const Buyer = () => {
|
||||||
}, [services]);
|
}, [services]);
|
||||||
|
|
||||||
const { data: list } = useSWR<Root>('search' + services + page, marketplace);
|
const { data: list } = useSWR<Root>('search' + services + page, marketplace);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="flex flex-col items-center mt-[100px] gap-[27px] text-center">
|
||||||
|
<div>
|
||||||
|
<img src="/peoplemarketplace.svg" />
|
||||||
|
</div>
|
||||||
|
<div className="text-[48px]">
|
||||||
|
The marketplace is not opened yet
|
||||||
|
<br />
|
||||||
|
Check again soon!
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue