diff --git a/client/me/account-close/closed.jsx b/client/me/account-close/closed.jsx index 6b31ab9251d09..de6d405c5ddd4 100644 --- a/client/me/account-close/closed.jsx +++ b/client/me/account-close/closed.jsx @@ -34,11 +34,11 @@ function AccountSettingsClosedComponent( { isUserAccountClosed } ) { } }, [ storedToken, urlToken ] ); - const onClick = () => { + const onCancelClick = () => { window.location.href = '/'; }; - const onClickRestore = () => { + const onRestoreClick = () => { dispatch( restoreAccount( restoreToken ) ); }; @@ -77,14 +77,14 @@ function AccountSettingsClosedComponent( { isUserAccountClosed } ) { } />