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

138
Views
How to force render same id with same data?

I have some card components (soldItems, createdItems) with same data, so this mean created items and sold items both are owned by creator and displayed on his profile, i want to show soldItem if it solded and don't show createdItem if it solded ...

Example:

SoldItem.filter((sold)=>{
CreatedItem.filter((created)=>{
   if(sold.id === created.id){
   console.log("matched");
   // In case its matched i want to show one of them not both
}else{
   console.log("not matched")
}
})
})
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!