diff --git a/ts/components/dialog/SessionSeedModal.tsx b/ts/components/dialog/SessionSeedModal.tsx index bc1c6735e..d0f6b44ee 100644 --- a/ts/components/dialog/SessionSeedModal.tsx +++ b/ts/components/dialog/SessionSeedModal.tsx @@ -26,7 +26,7 @@ const Password = (props: PasswordProps) => { const onClose = () => dispatch(recoveryPhraseModal(null)); const confirmPassword = () => { - const passwordValue = (document.getElementById('seed-input-password') as any)?.val(); + const passwordValue = (document.getElementById('seed-input-password') as any)?.value; const isPasswordValid = matchesHash(passwordValue as string, passwordHash); if (!passwordValue) {