fix: remove console log and linter errors

This commit is contained in:
Pedro De Castro
2024-11-07 06:38:34 +01:00
parent fd2fdbe2f9
commit c1f86cb502
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -96,7 +96,6 @@ export const getServices = async ({}) => {
}
}
console.log(parsedData);
revalidatePath("/services");
return parsedData;
};
+1 -2
View File
@@ -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 (