We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0769a70 commit b04cc0aCopy full SHA for b04cc0a
src/utils/hasStateChanged.ts
@@ -2,5 +2,4 @@ import type { MediaSequenceState } from '../types'
2
3
export const hasStateChanged = (prev: MediaSequenceState, next: MediaSequenceState) =>
4
prev.currentIndex !== next.currentIndex ||
5
- prev.shouldPreloadNext !== next.shouldPreloadNext ||
6
- prev.nextItemIndex !== next.nextItemIndex
+ prev.preloadIndex !== next.preloadIndex
0 commit comments