diff --git a/packages/app-accounts/src/modals/Create.tsx b/packages/app-accounts/src/modals/Create.tsx index 7b01054fde..b453073488 100644 --- a/packages/app-accounts/src/modals/Create.tsx +++ b/packages/app-accounts/src/modals/Create.tsx @@ -149,7 +149,18 @@ class Create extends React.PureComponent { public render (): React.ReactNode { const { className, t } = this.props; - const { address, isValid, showWarning } = this.state; + const { address, deriveError, derivePath, isNameValid, isPassValid, isSeedValid, isValid, name, pairType, password, seed, seedOptions, seedType, showWarning } = this.state; + const isDevSeed = seedType === 'dev'; + const seedLabel = ((): string => { + switch (seedType) { + case 'bip': + return t('mnemonic seed'); + case 'dev': + return t('development seed'); + default: + return t('seed (hex or string)'); + } + })(); return ( { onHideWarning={this.onHideWarning} /> )} - {this.renderInput()} + + + + + + + +
+ {t('Advanced creation options')} + + //". The "/" and "//" may be repeated and mixed`.')} + isError={!!deriveError} + label={t('secret derivation path')} + onChange={this.onChangeDerive} + onEnter={this.onCommit} + value={derivePath} + /> + {deriveError && ( +
{deriveError}
+ )} +
+
+