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

245
Views
Eliminar el mapa de matriz y los controladores de la operación de renderizado

Escribí este código hace un tiempo y volví para intentar limpiarlo eliminando la matriz de mapas y los controladores de la operación de renderizado, pero sigo recibiendo errores de sintaxis. ¿Cómo podría hacer esto? Recibo el mismo error: Error de sintaxis: token inesperado, esperado "," pero variando en cómo trato de separarlo.

 if (!sales) { return ( <div> <Spinner /> </div> ); } return ( <ul> {sales.map((result) => { const { sale_id, buyer, seller, listing_price, listing_symbol, created_at_time, } = result; function HandleBuyerClick() { window.location = '/user/' + buyer; } function HandleSellerClick() { window.location = '/user/' + seller; } if (buyer !== null) { return ( <Card> <li key={sale_id}> <h3> <Transaction> <Button onClick={HandleSellerClick}>{seller}</Button> </Transaction>{' '} just sold item number <Transaction> <Button>{sale_id}</Button> </Transaction>{' '} to <Transaction> <Button onClick={HandleBuyerClick}>{buyer}</Button> </Transaction>{' '} for <Transaction>{formatNumber(listing_price)}</Transaction>{' '} {listing_symbol} at {parseTimestampJM(created_at_time)} </h3> </li> </Card> ); } })} </ul> );
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!