Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

288
Visualizações
Unhandled Rejection (TypeError):function is not a function

I saw a couple of similar posts to this, however, they were all related to Props passed functions. This is somewhate different.

enter image description here

I'm getting this error, however the function is defined, I made the same import on another jsx file an have no issues calling methods from my class

SOAP Controller

 class SoapController {
  constructor(segurisignUser) {
    this.segurisignUser = segurisignUser;
    this.passwordDomain = "";
    this.userDomain = "ws_test";
    this.idDomain = "1";
    this.url = "";
  }

      async createUser(user) {
        // ...snip...
  };
}

Login

  const submit = async () => {
    const soapController = new SoapController();
    setDisabled(true);
    setLoading(true);
    const resultado = await soapController.createUser({ email, password, name });


  };

Thanks!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda