diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index 42aaa6c..18cda91 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -22,7 +22,7 @@ const SvgTextLogo: React.FC = ({ useEffect(() => { if (!svgRef.current || !animate) return; - const textElement = svgRef.current.querySelector('text') as SVGTextPathElement | null; + const textElement = svgRef.current.querySelector('text') as unknown as SVGTextElement | null; if (!textElement) return; const length = (textElement as any).getTotalLength?.() ?? 0;