Skip to content

Commit

Permalink
feat: update WsolDeposit component to rename columns and improve LP a…
Browse files Browse the repository at this point in the history
…mount display
  • Loading branch information
mohandast52 committed Nov 6, 2024
1 parent 15feb5a commit 55ed503
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,21 @@ export const WsolDeposit = () => {
<Table
columns={[
{
title: 'Estimated output',
dataIndex: 'estimated',
title: 'Estimated LP amount',
dataIndex: 'estimatedLpAmount',
width: '50%',
},
{
title: 'Bridged token amount',
dataIndex: 'bridgedTokenAmount',
title: 'Current LP balance',
dataIndex: 'currentLpBalance',
width: '50%',
},
]}
dataSource={[
{
key: '1',
estimated: `${estimatedOutput} WSOL-OLAS LP`,
bridgedTokenAmount: `${bridgedTokenAmountValue} WSOL-OLAS LP`,
estimatedLpAmount: `${estimatedOutput} WSOL-OLAS`,
currentLpBalance: `${bridgedTokenAmountValue} WSOL-OLAS`,
},
]}
bordered
Expand Down Expand Up @@ -166,7 +166,7 @@ export const WsolDeposit = () => {
message={
<>
You received
<Text strong>{` ${getCommaSeparatedNumber(quoteLiquidity)} WSOL-OLAS LP`}</Text>
<Text strong>{` ${getCommaSeparatedNumber(quoteLiquidity)} WSOL-OLAS`}</Text>
</>
}
type="success"
Expand Down

0 comments on commit 55ed503

Please sign in to comment.