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

270
Visualizações
React router warnings no matched routes already use outlet for layout purposes

I'm having a problem with this error No routes matched location, all my navigation does that. Already tried implementing with this Solution, but still got the same error or Am I missing something here?

Here is my code:

App.tsx

<BrowserRouter>
      <Routes>
        <Route path="/" element={<LoginLayout />}>
          <Route index element={<SignInForm />} />
          <Route path="/signin" element={<SignInForm />} />
          <Route path="/newpassword" element={<NewPassword />} />
{/*some other routes here*/}
         </Route>
</Routes>
</BrowserRouter>

Here is my code for LoginLayout.tsx:

    function LoginLayout() {
  return (
    <div className="content">
      <Container className="signin-wrapper">
        <Row>
          <Col className="d-flex justify-content-center align-items-center">
            <ImageSection />
          </Col>
          <Col className="d-flex justify-content-center align-items-center">
            <Outlet />
          </Col>
        </Row>
      </Container>
    </div>
  );
}

export default LoginLayout;

I just post small part of my code, and my react-router-dom version is "react-router-dom": "^6.2.1",

Sample from console:

enter image description here

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