From 40c30c5ea9a61ce39e6faf72504a141afa2d1505 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Fri, 20 Oct 2023 11:11:58 +0700
Subject: items center untuk filter urutan dan page limit

---
 src/lib/product/components/ProductSearch.jsx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index af3d881f..a4e3d872 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -40,8 +40,6 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
   const [priceFrom, setPriceFrom] = useState(query?.priceFrom || null)
   const [priceTo, setPriceTo] = useState(query?.priceTo || null)
 
-  console.log('ini roiute', router.pathname.includes('brands'))
-
   const pageCount = Math.ceil(productSearch.data?.response.numFound / limit)
   const productStart = productSearch.data?.responseHeader.params.start
   const productRows = limit
@@ -337,8 +335,8 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
               priceTo={priceTo}
               handleDeleteFilter={handleDeleteFilter}
             />
-            <div className='flex justify-between items-center mb-2'>
-              <div className='mb-2 leading-6 text-gray_r-11'>
+            <div className='flex justify-between items-center mb-5'>
+              <div className='leading-6 text-gray_r-11'>
                 {!spellings ? (
                   <>
                     Menampilkan&nbsp;
@@ -369,7 +367,7 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
                 <div className='ml-3'>
                   <select
                     name='urutan'
-                    className='form-input mt-2'
+                    className='form-input'
                     value={orderBy}
                     onChange={(e) => handleOrderBy(e)}
                   >
@@ -384,7 +382,7 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
                 <div className='ml-3'>
                   <select
                     name='limit'
-                    className='form-input mt-2'
+                    className='form-input'
                     value={router.query?.limit || ''}
                     onChange={(e) => handleLimit(e)}
                   >
-- 
cgit v1.2.3

