diff --git a/src/main/VideoPlayers.tsx b/src/main/VideoPlayers.tsx index b0c4262b9..0eb23d6e8 100644 --- a/src/main/VideoPlayers.tsx +++ b/src/main/VideoPlayers.tsx @@ -128,7 +128,7 @@ interface VideoPlayerProps { setIsPlaying: ActionCreatorWithPayload, setPreviewTriggered: ActionCreatorWithPayload, setClickTriggered: ActionCreatorWithPayload, - setJumpTriggered: ActionCreatorWithPayload, + setJumpTriggered: ActionCreatorWithPayload, setCurrentlyAt: ActionCreatorWithPayload | AsyncThunk, setAspectRatio: ActionCreatorWithPayload<{ dataKey: number; } & { width: number, height: number; }, string>, } diff --git a/src/redux/videoSlice.ts b/src/redux/videoSlice.ts index db04e6ac8..910d3e990 100644 --- a/src/redux/videoSlice.ts +++ b/src/redux/videoSlice.ts @@ -138,7 +138,7 @@ const videoSlice = createSlice({ setClickTriggered: (state, action: PayloadAction) => { state.clickTriggered = action.payload; }, - setJumpTriggered: (state, action) => { + setJumpTriggered: (state, action: PayloadAction) => { state.jumpTriggered = action.payload; }, setCurrentlyAt: (state, action: PayloadAction) => { @@ -480,7 +480,7 @@ export const { setClickTriggered, setJumpTriggered, jumpToPreviousSegment, - jumpToNextSegment + jumpToNextSegment, } = videoSlice.actions; export const selectVideos = createSelector(