diff --git a/src/components/GoogleLoginButton.js b/src/components/GoogleLoginButton.js index 447ab0e..19ced05 100644 --- a/src/components/GoogleLoginButton.js +++ b/src/components/GoogleLoginButton.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import Button from '@mui/material/Button'; import GoogleIcon from '@mui/icons-material/Google'; import GoogleAuthContext from '../contexts/GoogleAuthContext.js'; -import { withI18n } from '../i18n/index.js'; +// import { withI18n } from '../i18n/withTranslation.js'; // Temporarily commented out for debugging class GoogleLoginButton extends Component { static contextType = GoogleAuthContext; @@ -191,13 +191,16 @@ class GoogleLoginButton extends Component { const { isInitializing, isPrompting } = this.state; const isLoading = isInitializing || isPrompting || (this.context && !this.context.isLoaded); + + return ( - }> - - - - +
+ } + sx={{ width: '100%', backgroundColor: '#4285F4', color: 'white' }} + > + Mit Google anmelden + + }> + + + + +
)}