Skip to content

Commit

Permalink
fix for message while registering
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgoldobin committed Feb 9, 2024
1 parent bfa8a39 commit fd53998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Content = () => {
Register
</button>
<span className='text-xs text-red-400'>
{ isDisabled ? `You do not have the required collateral to register. Please ensure you have a balance of ${formatEther(COLLATERAL_AMOUNT)} STRAX before trying to register` : null}
{ userBalance.lt(userCollateralAmount) ? `You do not have the required collateral to register. Please ensure you have a balance of ${formatEther(COLLATERAL_AMOUNT)} STRAX before trying to register` : null}
</span>
</>
)
Expand Down

0 comments on commit fd53998

Please sign in to comment.