File tree 1 file changed +8
-8
lines changed
apps/languagesv2/languages-v2-web/src/pages
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Link } from 'react-router-dom' ;
3
- import { GoogleOAuthProvider , GoogleLogin } from '@react-oauth/google' ;
3
+ import { GoogleOAuthProvider } from '@react-oauth/google' ;
4
4
5
5
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
+ // };
10
10
11
- const handleGoogleLoginError = ( ) => {
12
- console . log ( 'Google login failed' ) ;
13
- } ;
11
+ // const handleGoogleLoginError = () => {
12
+ // console.log('Google login failed');
13
+ // };
14
14
15
15
return (
16
16
< GoogleOAuthProvider clientId = "1019763033940-c42boad0dt819pddir1g4jelvarm8802.apps.googleusercontent.com" >
You can’t perform that action at this time.
0 commit comments