Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ternary shenanigans 🤦
Browse files Browse the repository at this point in the history
i'm a senior developer errybody
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
@@ -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 {

0 comments on commit 315abfe

Please sign in to comment.