diff --git a/components/pages/home/banner/slider.tsx b/components/pages/home/banner/slider.tsx index ab4dc23..d12cf08 100644 --- a/components/pages/home/banner/slider.tsx +++ b/components/pages/home/banner/slider.tsx @@ -29,13 +29,13 @@ export function BannerSlider() { }, ]; return ( -
+
{/* Custom buttons */} @@ -43,7 +43,7 @@ export function BannerSlider() { className={`${navigationNextEl.replace( ".", "", - )} w-10 h-10 absolute z-10 right-[10%] top-50 rounded-full bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition `} + )} w-10 h-10 absolute z-10 right-[5%] top-[40vh] rounded-full bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition `} > diff --git a/components/pages/home/statistics.tsx b/components/pages/home/statistics.tsx index 7022d20..da417de 100644 --- a/components/pages/home/statistics.tsx +++ b/components/pages/home/statistics.tsx @@ -43,7 +43,7 @@ export function Statistics() { ]; const [stat, setStat] = useState(stats); - const { data, isLoading } = useQuery({ + const { data } = useQuery({ queryKey: ["statistics"], queryFn: () => httpClient(endPoints.statistics), select: (data) => data?.data?.results,