Skip to content

Commit

Permalink
Update [post].tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhooks authored Dec 24, 2024
1 parent d3f0c21 commit b93fe9b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/[post].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,7 @@ function PostPlayer({
}

return (
<>
{canView ? (
<MuxPlayer
<MuxPlayer
{...playerProps}
playbackId={playbackId}
onEnded={() => {
Expand All @@ -584,10 +582,6 @@ function PostPlayer({
}}
className="relative z-10 flex items-center max-h-[calc(100vh-240px)] h-full bg-black justify-center"
/>
) : (
<GoProCtaOverlay lesson={{slug: post.fields.slug ?? ''}} />
)}
</>
)
}

Expand Down

0 comments on commit b93fe9b

Please sign in to comment.