Skip to content

Commit

Permalink
fix children issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl committed Apr 4, 2022
1 parent 9bb86af commit 38fb535
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ export const WithHeaderLayout: React.FC<WithHeaderLayoutProps> = ({
<Header
maxWidth={restrictHeaderWidth}
data-test-subj={dataTestSubj ? `${dataTestSubj}_header` : undefined}
children={headerChildren}
{...rest}
/>
>
{headerChildren}
</Header>
<Page
restrictWidth={restrictWidth || 1200}
data-test-subj={dataTestSubj ? `${dataTestSubj}_page` : undefined}
Expand Down

0 comments on commit 38fb535

Please sign in to comment.