Skip to content

Commit

Permalink
fix: fix language filter link on movie detail pages (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCatLady committed Mar 10, 2021
1 parent 45886cc commit 60d453b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MovieDetails/index.tsx
Expand Up @@ -657,7 +657,9 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
{intl.formatMessage(messages.originallanguage)}
</span>
<span className="flex-1 text-sm text-right text-gray-400">
<Link href={`/discover/tv/language/${data.originalLanguage}`}>
<Link
href={`/discover/movies/language/${data.originalLanguage}`}
>
<a className="hover:underline">
{intl.formatDisplayName(data.originalLanguage, {
type: 'language',
Expand Down

0 comments on commit 60d453b

Please sign in to comment.