From fa325c9de114941c9057738041fd44839a3156f2 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Mon, 1 Jul 2024 17:40:11 +0800 Subject: [PATCH] fix(experience): add missing `agreeToTermsPolicy` deps (#6148) --- .../SocialSignInWebCallback/use-single-sign-on-listener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/experience/src/pages/SocialSignInWebCallback/use-single-sign-on-listener.ts b/packages/experience/src/pages/SocialSignInWebCallback/use-single-sign-on-listener.ts index 308df2bd5..678b1872d 100644 --- a/packages/experience/src/pages/SocialSignInWebCallback/use-single-sign-on-listener.ts +++ b/packages/experience/src/pages/SocialSignInWebCallback/use-single-sign-on-listener.ts @@ -44,7 +44,7 @@ const useSingleSignOnRegister = () => { redirectTo(result.redirectTo); } }, - [handleError, navigate, redirectTo, request, termsValidation] + [agreeToTermsPolicy, handleError, navigate, redirectTo, request, termsValidation] ); };