From 992c7415988cc76338c991731f21d225e5330fa5 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 3 May 2023 16:39:46 +0700 Subject: fix layout content --- src/lib/content/components/PageContent.jsx | 6 +----- src/lib/product/components/ProductSearch.jsx | 8 +++++++- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/content/components/PageContent.jsx b/src/lib/content/components/PageContent.jsx index a2fcde4e..1d6b046f 100644 --- a/src/lib/content/components/PageContent.jsx +++ b/src/lib/content/components/PageContent.jsx @@ -33,11 +33,7 @@ const PageContent = ({ path }) => { prose-hr:my-3 ` - return ( -
-
-
- ) + return
} return <> diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index 2233925d..cc85589d 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -14,6 +14,7 @@ import ProductFilterDesktop from './ProductFilterDesktop' import { useRouter } from 'next/router' import searchSpellApi from '@/core/api/searchSpellApi' import Link from '@/core/components/elements/Link/Link' +import whatsappUrl from '@/core/utils/whatsappUrl' const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => { const router = useRouter() @@ -246,7 +247,12 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
Barang yang anda cari tidak ada?{' '} - + Hubungi Kami -- cgit v1.2.3