Merge version_1 into main #5

Merged
bender merged 1 commits from version_1 into main 2026-03-10 21:51:38 +00:00

View File

@@ -22,7 +22,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
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;