We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f92071 commit 214f51dCopy full SHA for 214f51d
web/src/pages/Home/Header.tsx
@@ -11,10 +11,10 @@ const Header = () => {
11
const [ref, { width }] = useMeasure();
12
const theme = useTheme();
13
const themeIsLight = theme.name === "light";
14
- const breakpointIsBig = width > BREAKPOINT_SMALL_SCREEN;
+ const screenIsBig = width > BREAKPOINT_SMALL_SCREEN;
15
return (
16
<div ref={ref}>
17
- {breakpointIsBig ? <HeaderDesktop {...{ themeIsLight }} /> : <HeaderMobile {...{ themeIsLight }} />}
+ {screenIsBig ? <HeaderDesktop {...{ themeIsLight }} /> : <HeaderMobile {...{ themeIsLight }} />}
18
</div>
19
);
20
};
0 commit comments