Skip to content

Commit

Permalink
fix: Update social login handlers to use consistent naming for platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurhalder committed Nov 10, 2024
1 parent 2c7eb17 commit 5f5ca9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,15 @@ function Login() {
height={25}
width={25}
className="google-icon"
onClick={() => handleSocialLogin("google")}
onClick={() => handleSocialLoginClick("Google")}
/>
<Image
src="/login/facebook.png"
alt="facebook"
height={25}
width={25}
className="facebook-icon"
onClick={() => handleSocialLogin("facebook")}
onClick={() => handleSocialLoginClick("Facebook")}
/>
<Image
src="/login/twitter.png"
Expand All @@ -258,7 +258,7 @@ function Login() {
height={25}
width={25}
className="github-icon"
onClick={() => handleSocialLogin("github")}
onClick={() => handleSocialLoginClick("GitHub")}
/>
</div>
</div>
Expand Down

0 comments on commit 5f5ca9a

Please sign in to comment.