Kaynağa Gözat

fix: 恢复客服链接访问

Before 7 ay önce
ebeveyn
işleme
450b85ef4b

+ 3 - 4
src/app/[locale]/(TabBar)/[[...share]]/@actionWidget/ActionWidget.tsx

@@ -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>