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

213
Vistas
undefined is not an object (evaluating 'post.profile_picture' )

so i have been getting this error a lot when working with arrays so i write an array in a seperated file but when i (export/import) and want to use it on another file (component ) it gives me this error , but if write the array inside the second file directly it works ??? i can keep REtyping that array but i want my code with no repetitions ! so what is the problem please code : THE ARRAY FILE :

const USERS =[
  {
      user: 'cleverqazi',
      image:'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/kensingtonroyal-79486960-257028741946498-6632966373034557484-n-1593172690.jpg',
  },
  {
      user: 'hyrixlele',
      image :'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT227CvLOL-LPbvwX9G1Fr-SQsTTCdHiA-6Pw&usqp=CAU',
  },
  {
      user :'jackdone',
      image:'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQlceGeHkpTiNVSv8bna9crjKxvlS38_ka-tw&usqp=CAU',
  },
  {
      user:'donetravitoleaon',
      image:'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdqteCJFZbpnYbaLhmdf9fv756Sc4PQJ6PfQ&usqp=CAU',
  },
  {
      user:'cristiano.ronaldo',
      image:'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQgDBFdFku800IEsJnhIB33SNN5UKZy2cnJaw&usqp=CAU',
  }
]

THE SECOND ONE :

       <ScrollView>
         {POSTS.map((post,index)=>(
             <Post post={post} key={index}/>
         ))}
       </ScrollView>
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