Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
el fondo de div es diferente de su contenido (se pasan los mismos valores)

Ok, entonces tengo un problema muy extraño (estoy usando next.js).

Estoy mapeando una matriz aleatoria.

 const otherPoepleData = shuffle(allPeople).filter(item => item.full_slug !== data.full_slug).slice(0, 3)
 {otherPoepleData.map((item, index) => <SpeakerNew data={item} key={item.id} index={index} /> )}

Para resumir el problema que he puesto dentro del siguiente código del componente SpeakerNew:

 <div style={{ backgroundImage: `url(${image.filename})` }}> {image.filename} </div>

Y aquí están los resultados:

 <div style="background-image: url(https://something.com/blablaba57674676343zzx.png);"> https://something.com/blablaba13123123dasdzz.png </div>

El contenido del div es 100% correcto, sin embargo, la URL de backgroundImage es incorrecta. Tomado de otra persona completamente de la matriz que estoy mapeando. ¿Cuál podría ser el problema aquí?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!