diff --git a/src/client/components/Layout/DefaultLayout.jsx b/src/client/components/Layout/DefaultLayout.jsx index 69791f3adf..23d9869d54 100644 --- a/src/client/components/Layout/DefaultLayout.jsx +++ b/src/client/components/Layout/DefaultLayout.jsx @@ -45,19 +45,23 @@ const DefaultLayout = ({ showVerticalNav={showVerticalNav} onShowVerticalNav={setShowVerticalNav} /> - - {localHeaderChildren} - + {localHeader ? ( + localHeader + ) : ( + + {localHeaderChildren} + + )}
{children}