File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ function Home({ initialSettings }) {
459
459
}
460
460
461
461
export default function Wrapper ( { initialSettings, fallback } ) {
462
- const { theme } = useContext ( ThemeContext ) ;
462
+ const { themeContext } = useContext ( ThemeContext ) ;
463
463
const wrappedStyle = { } ;
464
464
let backgroundBlur = false ;
465
465
let backgroundSaturate = false ;
@@ -490,9 +490,9 @@ export default function Wrapper({ initialSettings, fallback }) {
490
490
id = "page_wrapper"
491
491
className = { classNames (
492
492
"relative" ,
493
- theme && theme ,
493
+ initialSettings . theme && initialSettings . theme ,
494
494
initialSettings . color && `theme-${ initialSettings . color } ` ,
495
- theme === "dark" ? "scheme-dark" : "scheme-light" ,
495
+ themeContext === "dark" ? "scheme-dark" : "scheme-light" ,
496
496
) }
497
497
>
498
498
< div
You can’t perform that action at this time.
0 commit comments