diff --git a/ui/components/multichain/create-account/create-account.js b/ui/components/multichain/create-account/create-account.js index 838609ab7..3cdfe65f1 100644 --- a/ui/components/multichain/create-account/create-account.js +++ b/ui/components/multichain/create-account/create-account.js @@ -44,7 +44,7 @@ export const CreateAccount = ({ onActionComplete }) => { const { isValidAccountName, errorMessage } = getAccountNameErrorMessage( accounts, { t }, - trimmedAccountName ?? defaultAccountName, + trimmedAccountName || defaultAccountName, defaultAccountName, );