Skip to content

Page history breaks when opening a server's modpack #5527

@lumiscosity

Description

@lumiscosity

Please confirm the following.

What browsers are you seeing the problem on?

Firefox

Describe the bug

When clicking on the link to a server's modpack in the search view or in the project view, going back a page in the browser will return you two pages back instead of to the previous page.

Steps to reproduce

  1. Find a server with a modpack that can be opened independently.
  2. In the search view or the server view, try following the link to the modpack.
  3. Go back a page in your browser.

Expected behavior

Going back a page correctly puts you back on the server/project page.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions