Skip to content

Commit b04cc0a

Browse files
committed
fix
1 parent 0769a70 commit b04cc0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/hasStateChanged.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import type { MediaSequenceState } from '../types'
22

33
export const hasStateChanged = (prev: MediaSequenceState, next: MediaSequenceState) =>
44
prev.currentIndex !== next.currentIndex ||
5-
prev.shouldPreloadNext !== next.shouldPreloadNext ||
6-
prev.nextItemIndex !== next.nextItemIndex
5+
prev.preloadIndex !== next.preloadIndex

0 commit comments

Comments
 (0)