diff --git a/src/main/SubtitleSelect.tsx b/src/main/SubtitleSelect.tsx index 3ff83edee..050d05598 100644 --- a/src/main/SubtitleSelect.tsx +++ b/src/main/SubtitleSelect.tsx @@ -75,7 +75,7 @@ import { createTheme, ThemeProvider } from '@mui/material/styles'; } for (let subFlavor of displayFlavors) { - let icon = ((settings.subtitles || {}).icons || {})[subFlavor.subFlavor]; + const icon = ((settings.subtitles || {}).icons || {})[subFlavor.subFlavor]; buttons.push(