From 5f5ca9afa66e4888d59ec2eb040370a4cf97a916 Mon Sep 17 00:00:00 2001 From: Ankur Halder Date: Sun, 10 Nov 2024 16:32:11 +0530 Subject: [PATCH] fix: Update social login handlers to use consistent naming for platforms --- pages/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.jsx b/pages/index.jsx index d4c604e2..d909c1e6 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -226,7 +226,7 @@ function Login() { height={25} width={25} className="google-icon" - onClick={() => handleSocialLogin("google")} + onClick={() => handleSocialLoginClick("Google")} /> handleSocialLogin("facebook")} + onClick={() => handleSocialLoginClick("Facebook")} /> handleSocialLogin("github")} + onClick={() => handleSocialLoginClick("GitHub")} />