diff --git a/actions/services/services.ts b/actions/services/services.ts index 963b4501d3..dab8b80bb9 100644 --- a/actions/services/services.ts +++ b/actions/services/services.ts @@ -96,7 +96,6 @@ export const getServices = async ({}) => { } } - console.log(parsedData); revalidatePath("/services"); return parsedData; }; diff --git a/app/(prowler)/services/page.tsx b/app/(prowler)/services/page.tsx index e5d32084da..1772165913 100644 --- a/app/(prowler)/services/page.tsx +++ b/app/(prowler)/services/page.tsx @@ -1,5 +1,4 @@ import { Spacer } from "@nextui-org/react"; -import { redirect } from "next/navigation"; import { Suspense } from "react"; import { getServices } from "@/actions/services"; @@ -35,7 +34,7 @@ const SSRServiceGrid = async ({ }: { searchParams: SearchParamsProps; }) => { - const servicesData = await getServices( searchParams ); + const servicesData = await getServices(searchParams); const [services] = await Promise.all([servicesData]); return (