diff --git a/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx b/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx index e9963f8f..59f3a402 100644 --- a/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx +++ b/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx @@ -1,9 +1,8 @@ import type { ElementType, JSX, ReactNode } from 'react' -import { useState } from 'react' import { Title, type TitleProps } from '@mantine/core' export default function MdxTitle(props: TitleProps): JSX.Element { - const [headingId] = useState(getIdFrom(props.children)) + const headingId = getIdFrom(props.children) return (