Skip to content

Commit

Permalink
fix: mf-5549 add contact placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleBill committed Oct 27, 2023
1 parent 530ddf6 commit db04514
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/mask/shared-ui/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
"export": "Export",
"confirm_swap_risk": "Confirm swap risk",
"wallet_load_retry": "Failed to load {{symbol}}. Click to retry.",
"wallet_name": "Wallet Name",
"name": "Name",
"wallet_rename": "Rename Wallet",
"wallet_loading_nft_contract": "Loading NFT contract...",
"wallet_search_contract_no_result": "No results or contract address does not meet the query criteria.",
Expand Down Expand Up @@ -1138,7 +1138,7 @@
"wallet_edit_contact_successfully": "Edit contact successfully.",
"wallet_delete_contact": "Delete Contact",
"wallet_delete_contact_successfully": "Delete contact successfully.",
"wallet_name_wallet": "Name your wallet",
"wallet_name": "Name your wallet",
"wallet_account": "Wallet Account",
"wallet_imported": "Imported",
"scan_address_to_payment": "Scan QR code to receive payment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function AddContactDrawer({ onConfirm, address, name, setName, setAddress, ...re
<EmojiAvatar value={address} className={classes.emojiAvatar} sx={{ width: 60, height: 60 }} />
<MaskTextField
spellCheck={false}
placeholder={t('wallet_name_wallet')}
placeholder={t('name')}
className={classes.input}
value={name}
onChange={(ev) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function EditContactDrawer({ onConfirm, address, name, setName, type, ...rest }:
inputProps={{ style: { textAlign: 'center' } }}
classes={{ root: classes.inputRoot }}
spellCheck={false}
placeholder={t('wallet_name_wallet')}
placeholder={t('name')}
className={classes.input}
value={name}
onChange={(ev) => {
Expand Down

0 comments on commit db04514

Please sign in to comment.