Skip to content

Commit

Permalink
Fix ternary shenanigans 🤦
Browse files Browse the repository at this point in the history
i'm a senior developer errybody
  • Loading branch information
cee-chen committed Apr 10, 2024
1 parent 58cc0c4 commit 315abfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/page_template/page_template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ export const _EuiPageTemplate: FunctionComponent<EuiPageTemplateProps> = ({

const innerPanelled = panelled ?? Boolean(sidebar.length > 0);
const innerBordered = contentBorder ?? Boolean(sidebar.length > 0);
const headerBottomBorder = bottomBorder ?? sidebar.length ? true : 'extended';
const headerBottomBorder =
bottomBorder ?? (sidebar.length ? true : 'extended');

const templateContext = useMemo(() => {
return {
Expand Down

0 comments on commit 315abfe

Please sign in to comment.