Skip to content

Commit

Permalink
refactor(home): remove obsolete conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
royschut committed Nov 6, 2024
1 parent ea1e91c commit 49f2b3e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ const FeaturedMetadata = ({
<h2 className={classNames(loading ? styles.loadingTitle : styles.title)}>{!loading && item?.title}</h2>
<TruncatedText text={item?.description} maximumLines={3} />
<div>
{hasVideo && isWatchable && !isMobile && (
<StartWatchingButton item={item} playUrl={mediaURL({ id: item.mediaid, title: item.title, playlistId, play: true })} />
)}
{showStartWatchingButton && <StartWatchingButton item={item} playUrl={mediaURL({ id: item.mediaid, title: item.title, playlistId, play: true })} />}
<Button
label={t('common:more_info')}
onClick={() => navigate(mediaURL({ id: item.mediaid, title: item.title, playlistId }))}
Expand Down

0 comments on commit 49f2b3e

Please sign in to comment.