Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mathildedd committed Dec 3, 2024
1 parent bf69270 commit 6b54fa8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ const MuxVideoComponent = ({ lang, translations }: HeroVideoSubtitles) => {
const [showControls, setShowControls] = useState(true);
const { entry, isIntersecting, ref } = useIntersectionObserver({ initialIsIntersecting: true, threshold: 0.5 });
const { setBackgroundColor } = useGlobalStateProvider();
// Safari Detection
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
useEffect(() => {
if (!entry) return;
if (!isIntersecting && entry.boundingClientRect.top < 0) {
Expand Down

0 comments on commit 6b54fa8

Please sign in to comment.