Skip to content

Commit

Permalink
Fixed minor type error
Browse files Browse the repository at this point in the history
  • Loading branch information
adnansahovic committed Nov 8, 2022
1 parent de2641b commit 8168c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/token-allowance/token-allowance.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export default function TokenAllowance({
t('setSpendingCap', [renderContractTokenValues])
) : (
<Box>
{customTokenAmount === 0 ? (
{customTokenAmount === '0' ? (
t('revokeSpendingCap', [renderContractTokenValues])
) : (
<Box>
Expand Down

0 comments on commit 8168c85

Please sign in to comment.