remove notifications from player

This commit is contained in:
Simon
2025-01-11 18:08:12 +07:00
parent bb82661d7e
commit 0b9ef62477

View File

@@ -2,7 +2,6 @@ import updateVideoProgressById from '../api/actions/updateVideoProgressById';
import updateWatchedState from '../api/actions/updateWatchedState'; import updateWatchedState from '../api/actions/updateWatchedState';
import { SponsorBlockSegmentType, SponsorBlockType, VideoResponseType } from '../pages/Video'; import { SponsorBlockSegmentType, SponsorBlockType, VideoResponseType } from '../pages/Video';
import watchedThreshold from '../functions/watchedThreshold'; import watchedThreshold from '../functions/watchedThreshold';
import Notifications from './Notifications';
import { Dispatch, Fragment, SetStateAction, SyntheticEvent, useState } from 'react'; import { Dispatch, Fragment, SetStateAction, SyntheticEvent, useState } from 'react';
import formatTime from '../functions/formatTime'; import formatTime from '../functions/formatTime';
import { useSearchParams } from 'react-router-dom'; import { useSearchParams } from 'react-router-dom';
@@ -209,8 +208,6 @@ const VideoPlayer = ({
</video> </video>
</div> </div>
</div> </div>
<Notifications pageName="all" />
<div className="sponsorblock" id="sponsorblock"> <div className="sponsorblock" id="sponsorblock">
{sponsorBlock?.is_enabled && ( {sponsorBlock?.is_enabled && (
<> <>