Skip to content

Commit

Permalink
fix: Update MainGasBalance component to display 'Too low' status for …
Browse files Browse the repository at this point in the history
…empty ETH balance
  • Loading branch information
mohandast52 committed Jul 24, 2024
1 parent 7638b6b commit 802d3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/Main/MainGasBalance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const BalanceStatus = () => {

const status = useMemo(() => {
if (!safeBalance || safeBalance.ETH === 0) {
return { statusName: 'Empty', StatusComponent: EmptyDot };
return { statusName: 'Too low', StatusComponent: EmptyDot };
}

if (safeBalance.ETH < LOW_BALANCE) {
Expand Down

0 comments on commit 802d3c5

Please sign in to comment.