mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
fix: "Allow quick Add Account name based on default name" (20168) (#20748)
I made a mistake in a suggestion on PR #20168, and Mark Stacey noticed it. This PR fixes it.
This commit is contained in:
parent
6c5f24aa66
commit
b963c9a40e
@ -44,7 +44,7 @@ export const CreateAccount = ({ onActionComplete }) => {
|
|||||||
const { isValidAccountName, errorMessage } = getAccountNameErrorMessage(
|
const { isValidAccountName, errorMessage } = getAccountNameErrorMessage(
|
||||||
accounts,
|
accounts,
|
||||||
{ t },
|
{ t },
|
||||||
trimmedAccountName ?? defaultAccountName,
|
trimmedAccountName || defaultAccountName,
|
||||||
defaultAccountName,
|
defaultAccountName,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user