Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

61
Visualizações
Not going to page

Hey guys so I've written some code in react which makes it so that when I click on a bar in the graph it takes me to a different page displaying information in a table for that particular skill. It works for all of the skills apart from UX/UI Designer and I think that it's because there is a / in the url and that page doesn't exist. So how can I escape the / when I'm going to that page?.

Here is the code for the route:

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

Here is the code for the api call :

let url = 'https://localhost:4001/api/demand?selectedSkills=' + skillname

      fetch(url, requestObject)
        .then((res) => res.json())

        .then((response) => {
          getData(response)
        })

How can I make it work??

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda