summaryrefslogtreecommitdiff
path: root/src/lib/product
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/product')
-rw-r--r--src/lib/product/components/ProductSearch.jsx10
1 files changed, 4 insertions, 6 deletions
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)}
>