fix: typo

This commit is contained in:
Adrian Castro
2024-03-27 14:59:44 +01:00
parent dca49e8563
commit 020cb42e38
2 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ export const VideoPlayer = () => {
const setMeta = usePlayerStore((state) => state.setMeta);
const { gestureControls, autoPlay } = usePlayerSettingsStore();
const { updateWatchHistory, removeFromWatchHistory, getWatchHistorItem } =
const { updateWatchHistory, removeFromWatchHistory, getWatchHistoryItem } =
useWatchHistoryStore();
const updateResizeMode = (newMode: ResizeMode) => {
@@ -242,7 +242,7 @@ export const VideoPlayer = () => {
if (meta) {
const media = convertMetaToScrapeMedia(meta);
const watchHistoryItem = getWatchHistorItem(media);
const watchHistoryItem = getWatchHistoryItem(media);
if (watchHistoryItem) {
void videoRef.setPositionAsync(watchHistoryItem.positionMillis);