change texts in the stake and bond modals
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
a5306a68a7
commit
297ef45a3f
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.52",
|
"version": "0.7.53",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -143,7 +143,7 @@ const BondConfirmModal = ({
|
|||||||
<Box display="flex" flexDirection="row" justifyContent="space-between" alignItems="center">
|
<Box display="flex" flexDirection="row" justifyContent="space-between" alignItems="center">
|
||||||
<Box display="flex" flexDirection="column">
|
<Box display="flex" flexDirection="column">
|
||||||
<Metric
|
<Metric
|
||||||
label="Assets to Bond"
|
label="To Bond"
|
||||||
metric={spendAmount}
|
metric={spendAmount}
|
||||||
/>
|
/>
|
||||||
<Box
|
<Box
|
||||||
@ -171,7 +171,7 @@ const BondConfirmModal = ({
|
|||||||
</Box>
|
</Box>
|
||||||
<GhostStyledIcon sx={{ transform: "rotate(-90deg)" }} component={ArrowDropDownIcon} />
|
<GhostStyledIcon sx={{ transform: "rotate(-90deg)" }} component={ArrowDropDownIcon} />
|
||||||
<Box display="flex" flexDirection="column">
|
<Box display="flex" flexDirection="column">
|
||||||
<Metric label="Assets to Receive" metric={receiveAmount} />
|
<Metric label="To Receive" metric={receiveAmount} />
|
||||||
<Box
|
<Box
|
||||||
sx={{ background: "" }}
|
sx={{ background: "" }}
|
||||||
height="120px"
|
height="120px"
|
||||||
|
|||||||
@ -128,7 +128,7 @@ const StakeConfirmationModal = (props) => {
|
|||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
data-testid="stake-confirmation-modal"
|
data-testid="stake-confirmation-modal"
|
||||||
maxWidth="476px"
|
maxWidth="406px"
|
||||||
headerContent={
|
headerContent={
|
||||||
<Typography variant="h4">{`Confirm ${props.action}`}</Typography>
|
<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 display="flex" flexDirection="row" justifyContent="space-between" alignItems="center">
|
||||||
<Box height="170px" display="flex" flexDirection="column">
|
<Box height="170px" display="flex" flexDirection="column">
|
||||||
<Metric
|
<Metric
|
||||||
label={`Assets to Spend`}
|
label={`To ${props.action}`}
|
||||||
metric={formatNumber(new DecimalBigNumber(props.amount, props.spendDecimals), 5)}
|
metric={formatNumber(new DecimalBigNumber(props.amount, props.spendDecimals), 5)}
|
||||||
/>
|
/>
|
||||||
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">
|
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">
|
||||||
@ -162,7 +162,7 @@ const StakeConfirmationModal = (props) => {
|
|||||||
<GhostStyledIcon component={ArrowRightIcon} />
|
<GhostStyledIcon component={ArrowRightIcon} />
|
||||||
<Box display="flex" flexDirection="column">
|
<Box display="flex" flexDirection="column">
|
||||||
<Metric
|
<Metric
|
||||||
label="Assets to Receive"
|
label="To Receive"
|
||||||
metric={formatNumber(new DecimalBigNumber(props.receiveAmount, props.receiveDecimals), 5)}
|
metric={formatNumber(new DecimalBigNumber(props.receiveAmount, props.receiveDecimals), 5)}
|
||||||
/>
|
/>
|
||||||
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">
|
<Box display="flex" flexDirection="column" justifyContent="center" alignItems="center">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user