diff --git a/components/ui/Heading.tsx b/components/ui/Heading.tsx index c5141a6..e1bd419 100644 --- a/components/ui/Heading.tsx +++ b/components/ui/Heading.tsx @@ -10,7 +10,7 @@ type HeadingProps = { } export function Heading({as: Component = 'h1', children = null}: HeadingProps) { - const ref = useRef(null); + const ref = useRef(null) const headingText = children?.toString() || '' useEffect(() => { @@ -20,9 +20,9 @@ export function Heading({as: Component = 'h1', children = null}: HeadingProps) { }, []) return ( - + {children} - + ) } \ No newline at end of file