Skip to content

[Bug]: TSDoc Links #9040

@ivorscott

Description

@ivorscott

What version of React Router are you using?

6.3.0

Steps to Reproduce

Use the latest react-router version with the latest types.

Then navigate to node_modules/react-router/lib/hooks.d.ts in your favorite IDE and click the links.

Expected Behavior

I expect the correct links.

Actual Behavior

The links are incorrect.

For example:

This: https://reactrouter.com/docs/en/v6/api#uselocation

Should be: https://reactrouter.com/docs/en/v6/hooks/use-location

Seems like there was a fix for this but I don't see the changes.
Screen Shot 2022-07-08 at 01 04 27

9fa54d6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions