Merged in fix/hotjar-suppress-fixes (pull request #1192)

fix: hotjar - suppress personal data

* fix: hotjar - suppress personal data

* More suppressing
This commit is contained in:
Linus Flood
2025-02-04 06:47:36 +00:00
parent e7fbcd8a80
commit 0800c877a3
6 changed files with 17 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ export default function Title({
level = "h1",
textAlign,
textTransform,
...rest
}: HeadingProps) {
if (checkForEmptyChildren(children) === 0) {
return null
@@ -30,5 +31,9 @@ export default function Title({
textTransform,
type: as ?? level,
})
return <Hx className={classNames}>{children}</Hx>
return (
<Hx {...rest} className={classNames}>
{children}
</Hx>
)
}