Skip to content

Commit 214f51d

Browse files
committed
chore: better variable name
1 parent 9f92071 commit 214f51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/pages/Home/Header.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ const Header = () => {
1111
const [ref, { width }] = useMeasure();
1212
const theme = useTheme();
1313
const themeIsLight = theme.name === "light";
14-
const breakpointIsBig = width > BREAKPOINT_SMALL_SCREEN;
14+
const screenIsBig = width > BREAKPOINT_SMALL_SCREEN;
1515
return (
1616
<div ref={ref}>
17-
{breakpointIsBig ? <HeaderDesktop {...{ themeIsLight }} /> : <HeaderMobile {...{ themeIsLight }} />}
17+
{screenIsBig ? <HeaderDesktop {...{ themeIsLight }} /> : <HeaderMobile {...{ themeIsLight }} />}
1818
</div>
1919
);
2020
};

0 commit comments

Comments
 (0)