Skip to content

Commit

Permalink
fix!: 동영상에서 계속 보이는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiwon committed Nov 10, 2023
1 parent c8b8b51 commit 38344d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/home/components/HomeVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ const HomeVideo = (props: HomeVideoProps) => {
onMouseEnter={handleMouseEnter}
>
<VideoOverlay {...videoOverlayProps} />
{index !== 0 && <div className="w-10 h-10 loader top-1/2 absolute" />}
{loading && index !== 0 && playing && (
<div className="w-10 h-10 loader top-1/2 absolute" />
)}
<video
className="w-full h-full"
ref={videoPlayerRef}
Expand Down

0 comments on commit 38344d7

Please sign in to comment.