diff --git a/src/pages/service/components/OtherServices.tsx b/src/pages/service/components/OtherServices.tsx index bbc3148..4f3dfc6 100644 --- a/src/pages/service/components/OtherServices.tsx +++ b/src/pages/service/components/OtherServices.tsx @@ -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 (