diff --git a/components/ui/Heading.tsx b/components/ui/Heading.tsx index c5141a6..7105e5e 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(() => { @@ -22,7 +22,7 @@ export function Heading({as: Component = 'h1', children = null}: HeadingProps) { return ( {children} - + ) } \ No newline at end of file