profile
This commit is contained in:
@@ -18,6 +18,7 @@ const OtherServicesComponent: FC = () => {
|
||||
const getCategory = useGetCategoriesPublic()
|
||||
const getServices = useGetServicesByCategory(categoryId)
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
if (getCategory.data) {
|
||||
@@ -26,6 +27,10 @@ const OtherServicesComponent: FC = () => {
|
||||
|
||||
}, [getCategory.data])
|
||||
|
||||
console.log('services', getServices.data?.data?.category?.danakServices
|
||||
);
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className='w-full mt-8'>
|
||||
@@ -60,7 +65,7 @@ const OtherServicesComponent: FC = () => {
|
||||
<div className='flex w-full gap-6 items-center'>
|
||||
<div className='flex w-full flex-wrap xl:gap-6 gap-4 items-center mt-8'>
|
||||
{
|
||||
getServices.data?.data?.category?.danakService?.map((item: ItemServiceType) => {
|
||||
getServices.data?.data?.category?.danakServices?.map((item: ItemServiceType) => {
|
||||
return (
|
||||
<div className='flex-1 min-w-full xl:min-w-0 bg-white rounded-3xl py-4 px-6'>
|
||||
<div className='flex justify-between items-center'>
|
||||
|
||||
Reference in New Issue
Block a user