diff --git a/components/Staking.tsx b/components/Staking.tsx index 29400a6..5314519 100644 --- a/components/Staking.tsx +++ b/components/Staking.tsx @@ -126,7 +126,7 @@ const Staking: React.FC = () => { {delegationTokens.length === 0 && ( -
+
Waiting for a staking delegation to occur
{ valueView: { value: new ValueView_KnownAssetId({ amount: - getBalanceView.pipe(getEquivalentValues)()[0] - .equivalentAmount, + getBalanceView.pipe(getEquivalentValues)( + balance, + )[0].equivalentAmount, metadata: - getBalanceView.pipe(getEquivalentValues)()[0] - .numeraire, + getBalanceView.pipe(getEquivalentValues)( + balance, + )[0].numeraire, }), case: 'knownAssetId', }, diff --git a/components/Swap.tsx b/components/Swap.tsx index 9550f16..cbfcaa2 100644 --- a/components/Swap.tsx +++ b/components/Swap.tsx @@ -188,7 +188,7 @@ function SwapMonitor() { /> )) ) : ( -
+
Waiting for a swap to occur