소스 검색

fix:移除客服请求

Before 7 달 전
부모
커밋
e5cd777d6c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/app/[locale]/(TabBar)/[[...share]]/@actionWidget/ActionWidget.tsx

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

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