diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-05 09:46:31 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-05 09:46:31 +0700 |
| commit | 38c9fbb245aeb315e90f42c281a17257a5eeb122 (patch) | |
| tree | 38022c794bd87997ea38c7f946cf13598b65ec96 /src/lib | |
| parent | bd65a11a9f6ed0589ccdf86745abbf12b17816e9 (diff) | |
forgot and reset password
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/auth/components/Activate.jsx | 2 | ||||
| -rw-r--r-- | src/lib/product/components/ProductSearch.jsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/auth/components/Activate.jsx b/src/lib/auth/components/Activate.jsx index 5e95de8a..717e178b 100644 --- a/src/lib/auth/components/Activate.jsx +++ b/src/lib/auth/components/Activate.jsx @@ -153,7 +153,7 @@ const Activate = () => { /> <button type='submit' - disabled={email != ''} + disabled={!email} className='btn-yellow font-semibold mt-4 w-full' > {isLoading ? 'Loading...' : 'Aktivasi'} diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index 77c75e05..8e68d62d 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -28,12 +28,12 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => { const productRows = productSearch.data?.responseHeader.params.rows const productFound = productSearch.data?.response.numFound - const brands = productSearch.data?.facetCounts?.facetFields?.manufactureNameS?.filter((value, index) => { + const brands = productSearch.data?.facetCounts?.facetFields?.manufactureName?.filter((value, index) => { if (index % 2 === 0) { return true } }) - const categories = productSearch.data?.facetCounts?.facetFields?.categoryNameS?.filter( + const categories = productSearch.data?.facetCounts?.facetFields?.categoryName?.filter( (value, index) => { if (index % 2 === 0) { return true |
