diff --git a/src/register/RegistrationPage.jsx b/src/register/RegistrationPage.jsx index bf69c6e1..73560e43 100644 --- a/src/register/RegistrationPage.jsx +++ b/src/register/RegistrationPage.jsx @@ -205,7 +205,7 @@ const RegistrationPage = (props) => { // This is used by the "User Retention Rate Event" on GTM setCookie(USER_RETENTION_COOKIE_NAME, true, SESSION_COOKIE_DOMAIN); } - }, [registrationResult]); // eslint-disable-line react-hooks/exhaustive-deps + }, [registrationResult, USER_RETENTION_COOKIE_NAME, SESSION_COOKIE_DOMAIN]); const handleOnChange = (event) => { const { name } = event.target;