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