Skip to content

Commit 2f45a4d

Browse files
committed
fix: sToken->yToken
1 parent b216648 commit 2f45a4d

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

src/ui/pages/Lending/EarnSupplyScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ export default function EarnSupplyScreen() {
9393
}}>
9494
{getTruncate(receiveShare, 6)} 
9595
<small style={{ fontSize: '100%', color: colors.grey12, fontWeight: 500 }}>
96-
s{poolData?.token.asset.symbol}
96+
y{poolData?.token.asset.symbol}
9797
</small>
9898
</Typography>
9999
),
100-
tip: 'The amount of sToken you’ll receive in exchange for your deposited tokens'
100+
tip: 'The amount of yToken you’ll receive in exchange for your deposited tokens'
101101
},
102102
{
103103
label: 'Expected Interests / day',

src/ui/pages/Lending/EarnTabScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export default function EarnTabScreen() {
271271
}
272272
}}
273273
onClick={() => {
274-
navigate('BridgeTabScreen');
274+
window.open(`${SIDE_STATION_URL}/skipGo`, '_blank');
275275
}}>
276276
Bridge Here
277277
</Stack>

src/ui/pages/Lending/LendingTabScreen.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -449,11 +449,13 @@ export default function LendingTanScreen() {
449449
</Text>
450450
) : null}
451451
</Row>
452-
<Text
453-
text={`Max Borrowable:
454-
${getTruncate(borrowMaxAmount || '0', poolData?.token.asset.precision || 6)}`}
455-
color="white_muted"
456-
size="xs"></Text>
452+
<Row itemsCenter gap="sm">
453+
<Icon icon="wallet-icon" color="white_muted" size={12} />
454+
<Text
455+
text={BigNumber(poolTokenBalance?.formatAmount || '0').toFormat()}
456+
color="white_muted"
457+
size="xs"></Text>
458+
</Row>
457459
</Row>
458460
<Stack
459461
direction="row"

src/ui/pages/Lending/MyEarns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function PoolItemFC({ item }: { item: PoolDataItem }) {
146146
fontSize: '12px',
147147
color: colors.grey12
148148
}}>
149-
s{item.token.asset.symbol} Holding
149+
y{item.token.asset.symbol} Holding
150150
</Text>
151151
<Text
152152
style={{

0 commit comments

Comments
 (0)