🐞 fix:

This commit is contained in:
john 2024-06-27 18:30:02 +08:00
parent 6437428c05
commit 4df0d165dc
6 changed files with 19 additions and 17 deletions

View File

@ -1,7 +1,7 @@
<!--
* @LastEditors: John
* @Date: 2024-06-17 17:20:03
* @LastEditTime: 2024-06-26 15:41:11
* @LastEditTime: 2024-06-27 17:08:55
* @Author: John
-->
<!DOCTYPE html>
@ -13,7 +13,7 @@
name="viewport"
content="width=device-width, initial-scale=1.0,maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<title>Edge AI Node</title>
<title>YOTTA Edge AI Node</title>
</head>
<body>
<div id="root"></div>

View File

@ -1,7 +1,7 @@
/*
* @LastEditors: John
* @Date: 2024-06-19 15:48:57
* @LastEditTime: 2024-06-27 11:31:09
* @LastEditTime: 2024-06-27 17:58:57
* @Author: John
*/
import { config } from "@/components/WalletProvider";
@ -205,7 +205,8 @@ export async function payByContract(
});
} catch (err) {
console.log("pay By Contract catch err", err);
reject(new BaseError(`${err}`));
if (typeof err == "string") return reject(new BaseError(`${err}`));
return reject(err);
}
});
}

View File

@ -98,7 +98,7 @@
"领取中": "Processing",
"Buy Edge AI Node to get invitation link": "Buy Edge AI Node to get invitation link",
"Link wallet to get invitation link": "Link wallet to get invitation link",
"正在获取已授权金额": "Currently retrieving authorized amount.",
"正在获取已授权金额": "Retrieving authorized amount.",
"升级成功,返回首页查看": "Upgrade successful, return to homepage to view.",
"无级别提升": "Promotion without rank",
"没有更多数据了": "No more data",

View File

@ -729,11 +729,10 @@
gap: 16px;
white-space: nowrap;
.invite_content_icon {
width: 24px;
height: 24px;
}
}
.invite_content_icon {
width: 24px;
height: 24px;
}
}
}

View File

@ -1,5 +1,6 @@
.container {
padding: 0 14px;
padding-bottom: 100px;
}
.Mint {
display: flex;

View File

@ -1,7 +1,7 @@
/*
* @LastEditors: John
* @Date: 2024-06-18 15:28:03
* @LastEditTime: 2024-06-27 14:35:27
* @LastEditTime: 2024-06-27 17:17:09
* @Author: John
*/
import { cn, filterAddressBeforeZero, filterAmountBeforeZero } from "@/utils";
@ -110,12 +110,13 @@ export default function () {
<div className={cn(classes.Mint, classes.container)}>
<div className={classes.des}>
<span>
Introduction to the node Introduction to the node Inion to the node
Introduction to the node Introduction to the node Introduction to
the node Introduction to the node Introduction to the node
Introduction to the node Introduction to the node Introduction to
the node Introduction to the node Introduction to the node
Introduction to the node
Yotta Network is a modular AI storage and computing network driven
by zero-knowledge proofs (ZK), designed to enable anyone to easily
build decentralized, verifiable, and interoperable AI applications.
The Yotta Network testnet will be conducted in three phases: Alpha,
Beta, and Final. The Alpha Testnet Edge Node is the whitelisted node
operator selected for the early Alpha test phase, enjoying the
highest testnet reward ratio.
</span>
</div>
<div className={classes.nftImg}>