|
@@ -5,7 +5,7 @@ import { Toast } from "antd-mobile";
|
|
|
import { useTranslations } from "next-intl";
|
|
|
|
|
|
type Props = {
|
|
|
- data: DepositsRep[];
|
|
|
+ data: (DepositsRep & { order_status?: number })[];
|
|
|
};
|
|
|
const Message = (props: Props) => {
|
|
|
const { data = [] } = props;
|
|
@@ -38,7 +38,7 @@ const Message = (props: Props) => {
|
|
|
</div>
|
|
|
<div className={"flex justify-between text-[12px] text-[#acacac]"}>
|
|
|
<p>{timeFormat(item.time)}</p>
|
|
|
- <p>{item.status}</p>
|
|
|
+ <p>{t(`withdrawStatus.${item?.order_status}`)}</p>
|
|
|
</div>
|
|
|
</Box>
|
|
|
);
|