Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

287
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda