Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

269
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda