Skip to content

Duplicate Navbar displayed on "Not found" page #9841

@Vaibhav-Vanjani

Description

@Vaibhav-Vanjani

What is the URL where the issue is happening

https://roadmap.sh/questions/redux

What browsers are you seeing the problem on?

Chrome

Describe the Bug

Description

The "Not found" page on roadmap.sh is rendering the navbar twice.

Steps to Reproduce

  1. Go to https://roadmap.sh/questions/redux (or any invalid route)
  2. Observe the page layout

Expected Behavior

Only a single navbar should be displayed at the top of the page.

Actual Behavior

Two identical navbars are rendered one below the other.

Screenshots

Image

Possible Cause (Optional)

Looks like the layout component or header is being included twice for the error/404 page.

Environment

  • Browser: Chrome
  • OS: Windows

Output from browser console (if any)

No response

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions