change(ui): fix player resize

This commit is contained in:
nick-delirium 2023-02-21 16:45:59 +01:00
parent 30404db90b
commit b18a96c163
2 changed files with 1 additions and 3 deletions

View file

@ -75,7 +75,7 @@ function Player(props: IProps) {
React.useEffect(() => {
playerContext.player.scale();
}, [props.bottomBlock, props.fullscreen, playerContext.player]);
}, [props.bottomBlock, props.fullscreen, playerContext.player, activeTab, fullView]);
if (!playerContext.player) return null;

View file

@ -26,8 +26,6 @@ function WebPlayer(props: any) {
closeBottomBlock,
fullscreen,
fetchList,
insights,
jumpTimestamp,
} = props;
const { notesStore } = useStore();
const [activeTab, setActiveTab] = useState('');