File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const LanguageMorpher = () => {
41
41
42
42
// Use fallback value during SSR to prevent hydration mismatch
43
43
// Default to false (mobile) during SSR, then use actual value on client
44
- const isLargeScreen = isClient ? isLarge : false
44
+ const isLargeScreen = isClient && isLarge
45
45
46
46
return (
47
47
< Button
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ const ClientSideNav = () => {
94
94
95
95
// Use fallback value during SSR to prevent hydration mismatch
96
96
// Default to false (mobile) during SSR, then use actual value on client
97
- const desktopScreen = isClient ? desktopScreenValue : false
97
+ const desktopScreen = isClient && desktopScreenValue
98
98
99
99
return (
100
100
< >
You can’t perform that action at this time.
0 commit comments