Skip to content

Commit

Permalink
fix transfer / withdrawal popup
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 8, 2024
1 parent a8b33fd commit 1bc08e9
Show file tree
Hide file tree
Showing 5 changed files with 720 additions and 6 deletions.
9 changes: 9 additions & 0 deletions frontend/src/components/BalanceDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,15 @@ export function BalanceDisplay(): JSX.Element | null {
<Transfer
key={`${balance.chainId}-${balance.lockId}`}
chainId={balance.chainId}
resourceLockBalance={resourceLock.balance}
lockId={BigInt(balance.lockId)}
decimals={resourceLock.resourceLock.token.decimals}
tokenName={{
resourceLockName: resourceLock.resourceLock.token.name,
resourceLockSymbol: resourceLock.resourceLock.token.symbol,
tokenName: balance.token?.name || '',
}}
tokenSymbol={balance.token?.symbol || ''}
withdrawalStatus={balance.withdrawalStatus}
onForceWithdraw={() => {
setSelectedLockId(balance.lockId);
Expand Down
Loading

0 comments on commit 1bc08e9

Please sign in to comment.