diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-09-25 01:53:07 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-09-25 01:53:07 +0000 |
| commit | ad952b397b1cebcf85b66877da8e949e7e7a891f (patch) | |
| tree | c174d9dabd75a97544884f47b513f5b4b58443a0 /src/lib/home/components/CategoryHomeId.jsx | |
| parent | 1e834e45f9a11911036496151b71f99de480862e (diff) | |
| parent | a66b690ad0445452816f3ac8f8e98dba2e53ca31 (diff) | |
Merged in perapihan-tag (pull request #331)
Perapihan tag
Approved-by: trisusilo
Diffstat (limited to 'src/lib/home/components/CategoryHomeId.jsx')
| -rw-r--r-- | src/lib/home/components/CategoryHomeId.jsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/home/components/CategoryHomeId.jsx b/src/lib/home/components/CategoryHomeId.jsx index 71428e27..9f436dac 100644 --- a/src/lib/home/components/CategoryHomeId.jsx +++ b/src/lib/home/components/CategoryHomeId.jsx @@ -1,13 +1,15 @@ -import { LazyLoadComponent } from 'react-lazy-load-image-component' -import useCategoryHomeId from '../hooks/useCategoryHomeId' -import CategoryHome from './CategoryHome' +import { LazyLoadComponent } from 'react-lazy-load-image-component'; +import useCategoryHomeId from '../hooks/useCategoryHomeId'; +import CategoryHome from './CategoryHome'; const CategoryHomeId = () => { - const { categoryHomeIds } = useCategoryHomeId() + const { categoryHomeIds } = useCategoryHomeId(); return ( <div> - <div className='font-semibold sm:text-h-lg mb-6 px-4 sm:px-0'>Kategori Pilihan</div> + <h1 className='font-semibold text-[14px] sm:text-h-lg mb-6 px-4 sm:px-0'> + Kategori Pilihan + </h1> <div className='flex flex-col gap-y-10'> {categoryHomeIds.data?.map((id) => ( <LazyLoadComponent key={id}> @@ -16,7 +18,7 @@ const CategoryHomeId = () => { ))} </div> </div> - ) -} + ); +}; -export default CategoryHomeId +export default CategoryHomeId; |
