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

208
Vistas
Accessing JSON for Avatars in React.js

I'm trying to create 10 Avatars in a row to display the user list. But, when I pass the JSON to check those, I get the Avatar duplicated and misrepresenting the Avatar initials. And I've tried this in Code Sandbox that I've attached below.

https://codesandbox.io/s/optimistic-cookies-ygvso?file=/src/App.js

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

0

enter image description here

export default function App() {
      return (
        <div>
          <div>
            <Typography variant="h5">Persons</Typography>
          </div>
          <Stack direction="row" spacing={2}>
          {PersonData.map((person) => {
            return (
           
                <div>
                  <Avatar {...stringAvatar(person.avatar)} />
                  <Typography>{person.name}</Typography>
                </div>  
            );
          })}
             </Stack>
        </div>
      );
    }
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