nlw-06-reactjs icon indicating copy to clipboard operation
nlw-06-reactjs copied to clipboard

auth.esm.js:60 A boolean is being passed as a fourth parameter to window.open. This is not used and may cause an exception in a future release.

Open brunoreale opened this issue 3 years ago • 1 comments

Ao tentar criar uma sala, o popup de autenticação aparece, depois fecha sozinho, e no log de erro aparece:

auth.esm.js:60 A boolean is being passed as a fourth parameter to window.open. This is not used and may cause an exception in a future release.

Criei também função a seguir no AuthContext.tsx

  async function signOut() {
    await auth.signOut()

    setUser(undefined)
  }

Chamei esta função em page/Rooms.tsx num botão para fazer o signOut() e incluí uma chamada ao signIn()

Depois de desconectar, eu tento logar novamente e ocorre o erro também.

brunoreale avatar Jun 29 '21 17:06 brunoreale