Skip to content

Commit 68b3db2

Browse files
committed
update
1 parent 6b3f6f0 commit 68b3db2

File tree

1 file changed

+8
-8
lines changed
  • apps/languagesv2/languages-v2-web/src/pages

1 file changed

+8
-8
lines changed

apps/languagesv2/languages-v2-web/src/pages/Nav.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import React from 'react';
22
import { Link } from 'react-router-dom';
3-
import { GoogleOAuthProvider, GoogleLogin } from '@react-oauth/google';
3+
import { GoogleOAuthProvider } from '@react-oauth/google';
44

55
const Nav: React.FC = () => {
6-
const handleGoogleLoginSuccess = (response: any) => {
7-
console.log('Google login successful:', response);
8-
// Handle the Google login response here, e.g., send the token to your backend for verification.
9-
};
6+
// const handleGoogleLoginSuccess = (response: any) => {
7+
// console.log('Google login successful:', response);
8+
// // Handle the Google login response here, e.g., send the token to your backend for verification.
9+
// };
1010

11-
const handleGoogleLoginError = () => {
12-
console.log('Google login failed');
13-
};
11+
// const handleGoogleLoginError = () => {
12+
// console.log('Google login failed');
13+
// };
1414

1515
return (
1616
<GoogleOAuthProvider clientId="1019763033940-c42boad0dt819pddir1g4jelvarm8802.apps.googleusercontent.com">

0 commit comments

Comments
 (0)