change texts in the stake and bond modals

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-07-13 16:19:19 +03:00
parent a5306a68a7
commit 297ef45a3f
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ghost-dao-interface",
"private": true,
"version": "0.7.52",
"version": "0.7.53",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -143,7 +143,7 @@ const BondConfirmModal = ({
<Box display="flex" flexDirection="row" justifyContent="space-between" alignItems="center">
<Box display="flex" flexDirection="column">
<Metric
label="Assets to Bond"
label="To Bond"
metric={spendAmount}
/>
<Box
@ -171,7 +171,7 @@ const BondConfirmModal = ({
</Box>
<GhostStyledIcon sx={{ transform: "rotate(-90deg)" }} component={ArrowDropDownIcon} />
<Box display="flex" flexDirection="column">
<Metric label="Assets to Receive" metric={receiveAmount} />
<Metric label="To Receive" metric={receiveAmount} />
<Box
sx={{ background: "" }}
height="120px"

View File

@ -128,7 +128,7 @@ const StakeConfirmationModal = (props) => {
return (
<Modal
data-testid="stake-confirmation-modal"
maxWidth="476px"
maxWidth="406px"
headerContent={
<Typography variant="h4">{`Confirm ${props.action}`}</Typography>
}
@ -140,7 +140,7 @@ const StakeConfirmationModal = (props) => {
<Box display="flex" flexDirection="row" justifyContent="space-between" alignItems="center">
<Box height="170px" display="flex" flexDirection="column">
<Metric
label={`Assets to Spend`}
label={`To ${props.action}`}
metric={formatNumber(new DecimalBigNumber(props.amount, props.spendDecimals), 5)}
/>
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">
@ -162,7 +162,7 @@ const StakeConfirmationModal = (props) => {
<GhostStyledIcon component={ArrowRightIcon} />
<Box display="flex" flexDirection="column">
<Metric
label="Assets to Receive"
label="To Receive"
metric={formatNumber(new DecimalBigNumber(props.receiveAmount, props.receiveDecimals), 5)}
/>
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">