Skip to content

Commit

Permalink
key issues
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 7, 2024
1 parent b01ec61 commit 316af4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/components/BalanceDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export function BalanceDisplay(): JSX.Element | null {
<div className="mt-4 border-t border-gray-700 pt-4">
<div className="flex gap-2">
<Transfer
key={`${balance.chainId}-${balance.lockId}`}
chainId={balance.chainId}
withdrawalStatus={balance.withdrawalStatus}
onForceWithdraw={() => {
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/components/CreateAllocation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,10 @@ export function CreateAllocation({ sessionToken }: CreateAllocationProps) {
>
<option value="">Select a resource lock</option>
{balances.map((balance) => (
<option key={balance.lockId} value={balance.lockId}>
<option
key={`${balance.chainId}-${balance.lockId}`}
value={balance.lockId}
>
{`Lock ${balance.lockId} - Available: ${formatUnits(BigInt(balance.balanceAvailableToAllocate), lockDecimals)}`}
</option>
))}
Expand Down

0 comments on commit 316af4e

Please sign in to comment.