From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/pages/shop/search.jsx | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

(limited to 'src/pages/shop/search.jsx')

diff --git a/src/pages/shop/search.jsx b/src/pages/shop/search.jsx
index a41c3b5f..d616f2dd 100644
--- a/src/pages/shop/search.jsx
+++ b/src/pages/shop/search.jsx
@@ -1,21 +1,16 @@
-import dynamic from "next/dynamic"
-import { useRouter } from "next/router"
-import _ from "lodash-contrib"
+import dynamic from 'next/dynamic'
+import { useRouter } from 'next/router'
+import _ from 'lodash-contrib'
 
-const BasicLayout = dynamic(() => import("@/core/components/layouts/BasicLayout"))
-const ProductSearch = dynamic(() => import("@/lib/product/components/ProductSearch"))
+const BasicLayout = dynamic(() => import('@/core/components/layouts/BasicLayout'))
+const ProductSearch = dynamic(() => import('@/lib/product/components/ProductSearch'))
 
 export default function Search() {
   const router = useRouter()
-  
+
   return (
     <BasicLayout>
-      { !_.isEmpty(router.query) && (
-        <ProductSearch
-          query={router.query}
-          prefixUrl="/shop/search"
-        />
-      ) }
+      {!_.isEmpty(router.query) && <ProductSearch query={router.query} prefixUrl='/shop/search' />}
     </BasicLayout>
   )
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3

