浏览代码

feat: 修改

year 2 月之前
父节点
当前提交
8c209565a3
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      src/components/HeaderBack/index.tsx

+ 4 - 5
src/components/HeaderBack/index.tsx

@@ -1,7 +1,6 @@
 "use client";
 import { usePathname, useRouter } from "@/i18n/routing";
 import { useWalletStore } from "@/stores/useWalletStore";
-import { getToken } from "@/utils/Cookies";
 import clsx from "clsx";
 import { useTranslations } from "next-intl";
 import { FC, PropsWithChildren, ReactNode, useEffect, useState } from "react";
@@ -85,19 +84,19 @@ const HeaderBack: FC<PropsWithChildren<HeaderBackProps>> = ({
                 {(title || selfTitle) && <span>{title || selfTitle}</span>}
             </div>
             <div className={styles.content}>{children}</div>
-            {getToken() && (
+            {/* {getToken() && (
                 <div>
                     {!wallet.is_open_no_bonus && (
                         <img src="/img/no_bouns.png" alt="" className="h-[20px]" />
                     )}
                 </div>
-            )}
+            )} */}
 
-            {/* {!Right && (
+            {!Right && (
                 <span className={styles.right} onClick={() => goPage("home")}>
                     <span className={iconClassName2}></span>
                 </span>
-            )} */}
+            )}
             {Right && Right()}
         </div>
     );