Skip to content

Can't use search params in LinkContainer to prop #310

@PaulCordo

Description

@PaulCordo

Using react-router-bootstrap 0.26.2, react-router-dom 6.8.2 and react-bootstrap 2.7.2

If I had a URLSearchParams to the prop to of LinkContainer I get an error :
Cannot include a '?' character in a manually specified to.pathname field...

If I use a normal <Link> from react-router-dom no problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions