|
@@ -1,4 +1,5 @@
|
|
|
"use server";
|
|
|
+import { getServicesApi, getSocialsApi } from "@/api/customservice";
|
|
|
import { Link } from "@/i18n/routing";
|
|
|
import { getTranslations } from "next-intl/server";
|
|
|
import { FC } from "react";
|
|
@@ -18,10 +19,8 @@ const terms = [
|
|
|
{ label: "esportes", url: "/terms" }, // todo
|
|
|
];
|
|
|
const ActionWidget: FC = async () => {
|
|
|
- // const services = await getServicesApi();
|
|
|
- const services: any = [];
|
|
|
- // const socials = await getSocialsApi();
|
|
|
- const socials: any[] = [];
|
|
|
+ const services = await getServicesApi();
|
|
|
+ const socials = await getSocialsApi();
|
|
|
const t = await getTranslations("HomePage");
|
|
|
return (
|
|
|
<div>
|