Skip to content

Commit

Permalink
fix: styles and getters
Browse files Browse the repository at this point in the history
  • Loading branch information
vacekj committed Oct 24, 2024
1 parent a5f821e commit a67673a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions components/Staking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const Staking: React.FC = () => {
</div>

{delegationTokens.length === 0 && (
<div className="w-full bg-white shadow-md rounded-lg p-4">
<div className="w-full shadow-md rounded-lg p-4">
<div className="flex flex-row gap-3 items-center">
<div>Waiting for a staking delegation to occur</div>
<div
Expand Down Expand Up @@ -171,11 +171,13 @@ const Staking: React.FC = () => {
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',
},
Expand Down
2 changes: 1 addition & 1 deletion components/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function SwapMonitor() {
/>
))
) : (
<div className="w-full p-4 bg-white shadow rounded">
<div className="w-full p-4 shadow rounded">
<div className="flex flex-row gap-3">
<span>Waiting for a swap to occur</span>
<div className="animate-spin h-5 w-5 border-2 border-blue-500 rounded-full border-t-transparent" />
Expand Down

0 comments on commit a67673a

Please sign in to comment.