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

153
Vistas
Shows random number enqueuesnackbar (notistack) in react js

I am using notistack package. need to show snackbar on the screen. while calling the Snack component which is using enquesnackbar it shows the snackbar but also show the random number on the screen.

I want to remove that random number from screen. it should not visible on the screen.

code sandbox demo

https://codesandbox.io/s/naughty-microservice-ocoig2?file=/src/index.js

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I got the temporary solution for that.

I have added display non in the component. In this case random number will be there but it won't be visible on screen.

  <div style={{display: "none"}}>
    {messageList.map(({ message }) => (
      <Snack message={message} />
    ))}
    </div>

if anyone found any other solution feel free to post here.

about 4 years ago · Juan Pablo Isaza Denunciar
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