fix: Add missing useState import in MediaVideo

This commit is contained in:
2026-06-02 23:57:44 -05:00
parent 17435e155d
commit e944594e06
+1 -1
View File
@@ -13,7 +13,7 @@
* and only seek when drift exceeds a threshold. This prevents audio glitching * and only seek when drift exceeds a threshold. This prevents audio glitching
* caused by constantly setting currentTime on every frame. * 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 { useCurrentFrame } from '../player/useCurrentFrame';
import { useVideoConfig } from '../player/useVideoConfig'; import { useVideoConfig } from '../player/useVideoConfig';
import { usePlayerState } from '../player/PlayerContext'; import { usePlayerState } from '../player/PlayerContext';