mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
unnecessary arg removed
This commit is contained in:
parent
7ab2dab78a
commit
553340f329
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ const PasswordResetModal = ({ email, onCloseRequest }) => {
|
|||
window.open('https://www.strem.io/reset-password/' + modalEmailRef.current.value, '_blank')
|
||||
:
|
||||
setError('Invalid email');
|
||||
}, [modalEmailRef.current]);
|
||||
}, [modalEmailRef.current]);
|
||||
const passwordResetModalButtons = React.useMemo(() => {
|
||||
return [
|
||||
{
|
||||
|
|
@ -32,7 +32,7 @@ const PasswordResetModal = ({ email, onCloseRequest }) => {
|
|||
}
|
||||
];
|
||||
}, [onCloseRequest, passwordResetOnClick]);
|
||||
const emailOnChange = React.useCallback((event) => {
|
||||
const emailOnChange = React.useCallback(() => {
|
||||
setError('');
|
||||
}, []);
|
||||
const emailOnSubmit = React.useCallback(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue