diff --git a/src/routes/Reader/SettingsBar/ThemesContainer/ThemesContainer.tsx b/src/routes/Reader/SettingsBar/ThemesContainer/ThemesContainer.tsx index 30b6b32..8185091 100644 --- a/src/routes/Reader/SettingsBar/ThemesContainer/ThemesContainer.tsx +++ b/src/routes/Reader/SettingsBar/ThemesContainer/ThemesContainer.tsx @@ -5,6 +5,7 @@ import styles from './ThemesContainer.module.scss' import { useAppDispatch, useAppSelector } from '@store/hooks' import { Theme } from '@store/slices/EpubJSBackend/data/theme/themeManager.d'; import { setThemeThunk } from '@store/slices/EpubJSBackend/data/theme/themeManager'; +import { setSelectedTheme } from '@store/slices/appState'; interface ThemeInterface{ [name: string]: Theme @@ -30,6 +31,10 @@ const ThemesContainer = ()=>{ const {background, color} = (appThemes[item].reader).body return (