mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
* Part of #18896 for file ui\components\app\create-new-vault\create-new-vault.js * Update create-new-vault.js * Adding submit attribute --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
This commit is contained in:
parent
b4668fa402
commit
02b45aa648
@ -2,9 +2,8 @@ import React, { useCallback, useState } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { useI18nContext } from '../../../hooks/useI18nContext';
|
||||
import TextField from '../../ui/text-field';
|
||||
import Button from '../../ui/button';
|
||||
import CheckBox from '../../ui/check-box';
|
||||
import { Text } from '../../component-library';
|
||||
import { BUTTON_VARIANT, Button, Text } from '../../component-library';
|
||||
import SrpInput from '../srp-input';
|
||||
import { PASSWORD_MIN_LENGTH } from '../../../helpers/constants/common';
|
||||
|
||||
@ -144,9 +143,9 @@ export default function CreateNewVault({
|
||||
<Button
|
||||
data-testid="create-new-vault-submit-button"
|
||||
className="create-new-vault__submit-button"
|
||||
type="primary"
|
||||
submit
|
||||
variant={BUTTON_VARIANT.PRIMARY}
|
||||
disabled={!isValid}
|
||||
type="submit"
|
||||
>
|
||||
{submitText}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user