|
@@ -2,7 +2,6 @@
|
|
import { getServicesApi, getSocialsApi } from "@/api/customservice";
|
|
import { getServicesApi, getSocialsApi } from "@/api/customservice";
|
|
import { Link } from "@/i18n/routing";
|
|
import { Link } from "@/i18n/routing";
|
|
import { getTranslations } from "next-intl/server";
|
|
import { getTranslations } from "next-intl/server";
|
|
-import { FC } from "react";
|
|
|
|
import Scroll from "./Scroll";
|
|
import Scroll from "./Scroll";
|
|
import Service from "./Service";
|
|
import Service from "./Service";
|
|
interface Props {
|
|
interface Props {
|
|
@@ -18,7 +17,7 @@ const terms = [
|
|
{ label: "responsible", url: "/gamingPolicy" }, // todo
|
|
{ label: "responsible", url: "/gamingPolicy" }, // todo
|
|
{ label: "esportes", url: "/terms" }, // todo
|
|
{ label: "esportes", url: "/terms" }, // todo
|
|
];
|
|
];
|
|
-const ActionWidget: FC = async () => {
|
|
|
|
|
|
+const ActionWidget = async () => {
|
|
const services = await getServicesApi();
|
|
const services = await getServicesApi();
|
|
const socials = await getSocialsApi();
|
|
const socials = await getSocialsApi();
|
|
const t = await getTranslations("HomePage");
|
|
const t = await getTranslations("HomePage");
|