From c1637f4d64fd086bd84a5029ad68ae53d6705d12 Mon Sep 17 00:00:00 2001 From: Candy Tsai Date: Sat, 7 Dec 2024 12:32:51 -0500 Subject: [PATCH] Align click handler names --- client/me/account-close/closed.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } ) { } />
- { config.isEnabled( 'me/account-restore' ) && (