Skip to content

Commit 9f92071

Browse files
committed
chore(web): spread operator as component parameter
1 parent 979adbe commit 9f92071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Home/Header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Header = () => {
1414
const breakpointIsBig = width > BREAKPOINT_SMALL_SCREEN;
1515
return (
1616
<div ref={ref}>
17-
{breakpointIsBig ? <HeaderDesktop themeIsLight={themeIsLight} /> : <HeaderMobile themeIsLight={themeIsLight} />}
17+
{breakpointIsBig ? <HeaderDesktop {...{ themeIsLight }} /> : <HeaderMobile {...{ themeIsLight }} />}
1818
</div>
1919
);
2020
};

0 commit comments

Comments
 (0)