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