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

View File

@ -1,7 +1,7 @@
/* /*
* @LastEditors: John * @LastEditors: John
* @Date: 2024-06-19 15:48:57 * @Date: 2024-06-19 15:48:57
* @LastEditTime: 2024-06-27 11:31:09 * @LastEditTime: 2024-06-27 17:58:57
* @Author: John * @Author: John
*/ */
import { config } from "@/components/WalletProvider"; import { config } from "@/components/WalletProvider";
@ -205,7 +205,8 @@ export async function payByContract(
}); });
} catch (err) { } catch (err) {
console.log("pay By Contract catch err", 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", "领取中": "Processing",
"Buy Edge AI Node to get invitation link": "Buy Edge AI Node to get invitation link", "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", "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.", "升级成功,返回首页查看": "Upgrade successful, return to homepage to view.",
"无级别提升": "Promotion without rank", "无级别提升": "Promotion without rank",
"没有更多数据了": "No more data", "没有更多数据了": "No more data",

View File

@ -729,7 +729,7 @@
gap: 16px; gap: 16px;
white-space: nowrap; white-space: nowrap;
}
.invite_content_icon { .invite_content_icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
@ -737,7 +737,6 @@
} }
} }
} }
}
.dataDisclosure { .dataDisclosure {
margin-top: 24px; margin-top: 24px;

View File

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

View File

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