Fix one more styling issue broken due to JSS changes. #7363
parent
44d40f0785
commit
a8f0f5bb4f
|
|
@ -773,7 +773,7 @@ function getFinalTheme(baseTheme) {
|
|||
/* In future, this will be moved to App container */
|
||||
export default function Theme({children}) {
|
||||
const prefStore = usePreferences();
|
||||
const [theme, setTheme] = useState(prefStore.getPreferencesForModule('misc')?.theme);
|
||||
const [theme, setTheme] = useState();
|
||||
|
||||
const themeObj = useMemo(()=>{
|
||||
let baseTheme = getLightTheme(basicSettings);
|
||||
|
|
|
|||
Loading…
Reference in New Issue