diff --git a/app/components/MyLayout.tsx b/app/components/MyLayout.tsx index f07ac69..4605fee 100644 --- a/app/components/MyLayout.tsx +++ b/app/components/MyLayout.tsx @@ -33,6 +33,7 @@ const MyLayout = React.memo(({ children }: { children: React.ReactNode }) => { const p = location.pathname; const isDesktopReady = p === "/" || + p === "/explore" || p.startsWith("/search/") || p.startsWith("/product/") || p.startsWith("/seller/") || diff --git a/app/components/explore/MainSection.tsx b/app/components/explore/MainSection.tsx index 1d8ac9e..8cd9623 100644 --- a/app/components/explore/MainSection.tsx +++ b/app/components/explore/MainSection.tsx @@ -47,7 +47,7 @@ const MainSection = () => { ); return ( -
+
{

) : ( -
-
+
+
{categories?.map((category, index) => { return ( { > {category.categoryName}

diff --git a/app/routes/explore.tsx b/app/routes/explore.tsx index 35bee7c..f5f1b50 100644 --- a/app/routes/explore.tsx +++ b/app/routes/explore.tsx @@ -9,11 +9,13 @@ export default function Explore() { const [searchValue, setSearchValue] = useState(""); return (

- +
+ +
{isActiveSearchBar ? ( ) : (