fix: Add missing useState import in MediaVideo
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* and only seek when drift exceeds a threshold. This prevents audio glitching
|
||||
* caused by constantly setting currentTime on every frame.
|
||||
*/
|
||||
import React, { useRef, useEffect } from 'react';
|
||||
import React, { useRef, useEffect, useState } from 'react';
|
||||
import { useCurrentFrame } from '../player/useCurrentFrame';
|
||||
import { useVideoConfig } from '../player/useVideoConfig';
|
||||
import { usePlayerState } from '../player/PlayerContext';
|
||||
|
||||
Reference in New Issue
Block a user