Skip to content

Commit

Permalink
fix(discover): download tvshow
Browse files Browse the repository at this point in the history
closes #104
  • Loading branch information
iam4x committed Jun 10, 2020
1 parent 0f1c70a commit bdf2e2b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/web/components/discover/discover.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@ export function DiscoverComponent() {
?.map((res) => (
<TMDBCardComponent
key={res.id}
type={Entertainment.Movie ? 'movie' : 'tvshow'}
type={
filterParams.entertainment ===
Entertainment.Movie
? 'movie'
: 'tvshow'
}
result={res}
/>
))}
Expand Down

0 comments on commit bdf2e2b

Please sign in to comment.