Description 💬
Querying an individual links to /details/person/:id route. This route does not exist.
Reproduction Steps 🪜
- Search a person
- Click on any result
- PageNotFound screen is rendered
Expected Behavior
Should properly link to the details/actor/:id route.
Additional Context
Query results are displayed via ShowPoster or ShowListCard components. Both of these components utilize <Link to={'/details/${details.media_type}/${details.id}'} >.
media_type for individuals is person, hence the invalid link.
Can presumably add a media_type == 'person' conditional to provide the proper link.
Description 💬
Querying an individual links to
/details/person/:idroute. This route does not exist.Reproduction Steps 🪜
Expected Behavior
Should properly link to the
details/actor/:idroute.Additional Context
Query results are displayed via
ShowPosterorShowListCardcomponents. Both of these components utilize<Link to={'/details/${details.media_type}/${details.id}'} >.media_typefor individuals isperson, hence the invalid link.Can presumably add a
media_type == 'person'conditional to provide the proper link.