async function clearGoogleAuthCredentials() {
  const googleAuth =
    typeof gapi !== "undefined" && gapi && gapi.auth2
      ? gapi.auth2.getAuthInstance()
      : undefined;
  if (!googleAuth) {
    return;
  }

  try {
    await googleAuth.signOut();
  } catch (error) {
    console.error("Problem clearing Google Auth credentials", error);
  }
}
/// clear out Google Auth credentials in browser if present
clear out Google Auth credentials in browser if present
clear out Google Auth credentials in browser if present
async function clearGoogleAuthCredentials() {
  const googleAuth =
    typeof gapi !== "undefined" && gapi && gapi.auth2
      ? gapi.auth2.getAuthInstance()
      : undefined;
  if (!googleAuth) {
    return;
  }
  try {
    await googleAuth.signOut();
  } catch (error) {
    console.error("Problem clearing Google Auth credentials", error);
  }
}
async function clearGoogleAuthCredentials ( ) { const googleAuth = typeof gapi !== "undefined" && gapi && gapi . auth2 ? gapi . auth2 . getAuthInstance ( ) : undefined ; if ( ! googleAuth ) { return ; } try { await googleAuth . signOut ( ) ; } catch ( error ) { console . error ( "Problem clearing Google Auth credentials" , error ) ; } }
clear out Google Auth credentials in browser if present
clear out Google Auth credentials in browser if present