From 29425ee5c74cd98b56f8e1c22730f9a5462032b1 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 21:51:33 +0000 Subject: [PATCH] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- src/components/shared/SvgTextLogo/SvgTextLogo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.49.1