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

59
Views
no va a la pagina

Hola chicos, he escrito un código en reaccionar que hace que cuando hago clic en una barra en el gráfico me lleva a una página diferente que muestra información en una tabla para esa habilidad en particular. Funciona para todas las habilidades excepto UX/UI Designer y creo que es porque hay un / en la URL y esa página no existe. Entonces, ¿cómo puedo escapar del / cuando voy a esa página?.

Aquí está el código de la ruta:

 <Route path='/list-demand/:skillname' element={ <ProtectedRoute> <DemandInformation /> </ProtectedRoute> } />

Aquí está el código para la llamada api:

 let url = 'https://localhost:4001/api/demand?selectedSkills=' + skillname fetch(url, requestObject) .then((res) => res.json()) .then((response) => { getData(response) })

¿Cómo puedo hacer que funcione?

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!