From c1f86cb502dbfb62e89da4c3b7dc0c5c704f6064 Mon Sep 17 00:00:00 2001 From: Pedro De Castro <1519428+snaow@users.noreply.github.com> Date: Thu, 7 Nov 2024 06:38:34 +0100 Subject: [PATCH] fix: remove console log and linter errors --- actions/services/services.ts | 1 - app/(prowler)/services/page.tsx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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 (