diff --git a/packages/gatsby-theme-carbon/src/components/Header/Header.js b/packages/gatsby-theme-carbon/src/components/Header/Header.js index f3510b9ea..bb33ea00f 100644 --- a/packages/gatsby-theme-carbon/src/components/Header/Header.js +++ b/packages/gatsby-theme-carbon/src/components/Header/Header.js @@ -17,6 +17,12 @@ import useMetadata from '../../util/hooks/useMetadata'; import * as styles from './Header.module.scss'; +const DefaultHeaderText = () => ( + <> + Carbon Design System + +); + const defaults = { children: , }; @@ -79,10 +85,4 @@ const Header = ({ children = defaults.children }) => { ); }; -const DefaultHeaderText = () => ( - <> - Carbon Design System - -); - export default Header;