瀏覽代碼

fix: 增加巴西图片配置

Before 7 月之前
父節點
當前提交
57e876bdeb
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/app/[locale]/(TabBar)/deposit/DepositData.tsx

+ 2 - 1
src/app/[locale]/(TabBar)/deposit/DepositData.tsx

@@ -14,6 +14,7 @@ import actions from "@/app/[locale]/(TabBar)/deposit/actions";
 import Empty from "@/components/Empty";
 import "@/styles/deposit.scss";
 import { server } from "@/utils/client";
+import Image from "next/image";
 interface Props {}
 
 interface RewardsProps {
@@ -143,7 +144,7 @@ const DepositData: FC<Props> = (props) => {
     return (
         <div className="deposit-box">
             <div className="img-box">
-                <img
+                <Image
                     className={"h-[100%] w-[100%] object-cover"}
                     src={activeType.icon || ""}
                     alt={activeType.name || ""}