Skip to content

Commit

Permalink
add input success correlation message
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed May 21, 2024
1 parent a3d38fd commit 824e67d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions web-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions web-frontend/src/pages/TransferCoins/SendCoins/SendForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,15 @@ export function SendForm(props: SendFormProps) {
name="recipientAddress"
onChange={(e) => handleRecipientChange(e)}
error={error?.recipient}
success={
mnsAddressCorrelation
? Intl.t('send-coins.mns.mns-correlation', {
mns: recipient,
address: targetMnsAddress,
})
: ''
}
/>
{mnsAddressCorrelation && (
<div className="mas-caption text-brand">
{Intl.t('send-coins.mns.mns-correlation', {
mns: recipient,
address: targetMnsAddress,
})}
</div>
)}
</div>
{filteredAccounts.length > 0 && (
<div className="flex flex-row-reverse pb-3.5">
Expand Down

0 comments on commit 824e67d

Please sign in to comment.