Skip to content

Commit 82453d2

Browse files
[DDW-409] Temporarily hide WalletRecoveryPhraseVerificationWidget
1 parent c0847d7 commit 82453d2

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

source/renderer/app/components/wallet/settings/WalletSettings.tsx

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -334,23 +334,27 @@ class WalletSettings extends Component<Props, State> {
334334
/>
335335
)}
336336

337-
{shouldDisplayRecoveryPhrase && (
338-
<WalletRecoveryPhraseVerificationWidget
339-
onVerify={onVerifyRecoveryPhrase}
340-
recoveryPhraseVerificationDate={recoveryPhraseVerificationDate}
341-
// @ts-ignore ts-migrate(2769) FIXME: No overload matches this call.
342-
recoveryPhraseVerificationStatus={
343-
recoveryPhraseVerificationStatus
344-
}
345-
recoveryPhraseVerificationStatusType={
346-
recoveryPhraseVerificationStatusType
347-
}
348-
creationDate={creationDate}
349-
locale={locale}
350-
wordCount={wordCount}
351-
isLegacy={isLegacy}
352-
/>
353-
)}
337+
{/* TODO This feature is temporarily disabled and waiting for the new design.
338+
At this point we don't know how many words are required for the recovery phrase,
339+
to pass it down to the Mnemonic Input. We will probably need to introduce
340+
the same picker that's being used during wallet restoration. */}
341+
{/* {shouldDisplayRecoveryPhrase && ( */}
342+
{/* <WalletRecoveryPhraseVerificationWidget */}
343+
{/* onVerify={onVerifyRecoveryPhrase} */}
344+
{/* recoveryPhraseVerificationDate={recoveryPhraseVerificationDate} */}
345+
{/* // @ts-ignore ts-migrate(2769) FIXME: No overload matches this call. */}
346+
{/* recoveryPhraseVerificationStatus={ */}
347+
{/* recoveryPhraseVerificationStatus */}
348+
{/* } */}
349+
{/* recoveryPhraseVerificationStatusType={ */}
350+
{/* recoveryPhraseVerificationStatusType */}
351+
{/* } */}
352+
{/* creationDate={creationDate} */}
353+
{/* locale={locale} */}
354+
{/* wordCount={wordCount} */}
355+
{/* isLegacy={isLegacy} */}
356+
{/* /> */}
357+
{/* )} */}
354358

355359
{error && <p className={styles.error}>{intl.formatMessage(error)}</p>}
356360
</BorderedBox>

0 commit comments

Comments
 (0)