feat: add WebSocket URL for client and update GoogleLoginButton text to 'Loading...' for better user feedback
This commit is contained in:
@@ -187,7 +187,7 @@ class GoogleLoginButton extends Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const { disabled, style, className, text = (this.props.t ? this.props.t('auth.loginWithGoogle') : 'Mit Google anmelden') } = this.props;
|
||||
const { disabled, style, className, text = 'Loading...'} = this.props;
|
||||
const { isInitializing, isPrompting } = this.state;
|
||||
const isLoading = isInitializing || isPrompting || (this.context && !this.context.isLoaded);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user