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

268
Views
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
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!