diff --git a/src/components/ui/Heading/Heading.tsx b/src/components/ui/Heading/Heading.tsx index c3784c0e..0bb5617c 100644 --- a/src/components/ui/Heading/Heading.tsx +++ b/src/components/ui/Heading/Heading.tsx @@ -30,7 +30,7 @@ const RENDER_AS_ENUMS = [ } ]; -const Heading = ({ children, as = undefined, customRootClass = '', className = '' }, ...props) => { +const Heading = ({ children, as = undefined, customRootClass = '', className = '' , ...props}) => { const rootClass = customClassSwitcher(customRootClass, as || 'h1'); if (as !== undefined && RENDER_AS_ENUMS.find((item) => item.tag === as)) {