Skip to content

Commit

Permalink
Merge pull request #1266 from Arnei/fix-subtitle-select-page-selector
Browse files Browse the repository at this point in the history
Fix subtitle select page crashing
  • Loading branch information
geichelberger authored Feb 29, 2024
2 parents e515dab + 26e97b1 commit 1b5028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/SubtitleEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const SubtitleEditor: React.FC = () => {
const [getError, setGetError] = useState<string | undefined>(undefined);
const subtitle = useAppSelector(selectSelectedSubtitleById);
const selectedId = useAppSelector(selectSelectedSubtitleId);
const captionTrack = useAppSelector(selectSubtitlesFromOpencastById(selectedId));
const captionTrack = useAppSelector(state => selectSubtitlesFromOpencastById(state, selectedId));
const theme = useTheme();

// Prepare subtitle in redux
Expand Down

0 comments on commit 1b5028b

Please sign in to comment.