From 6c9a532dfea87c29ebf232c58966aacacfe6d251 Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Thu, 19 Mar 2026 13:09:34 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20address=20code=20review=20=E2=80=94=20re?= =?UTF-8?q?f=20init,=20title=20bar=20padding,=20a11y=20labeling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/about/AnsiNfoModal.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/about/AnsiNfoModal.tsx b/frontend/src/components/about/AnsiNfoModal.tsx index e1b91e7..bc03dee 100644 --- a/frontend/src/components/about/AnsiNfoModal.tsx +++ b/frontend/src/components/about/AnsiNfoModal.tsx @@ -87,12 +87,8 @@ interface AnsiNfoModalProps { export function AnsiNfoModal({ open, onOpenChange }: AnsiNfoModalProps) { const [visibleLines, setVisibleLines] = useState(0) const [animationDone, setAnimationDone] = useState(false) - const linesRef = useRef([]) + const linesRef = useRef(buildNfoLines()) const intervalRef = useRef | null>(null) - - if (linesRef.current.length === 0) { - linesRef.current = buildNfoLines() - } const totalLines = linesRef.current.length const skipAnimation = useCallback(() => { @@ -151,8 +147,8 @@ export function AnsiNfoModal({ open, onOpenChange }: AnsiNfoModalProps) { }} > {/* Retro title bar */} -
- +
+ TOD.NFO — ACiD View v1.0
@@ -161,6 +157,7 @@ export function AnsiNfoModal({ open, onOpenChange }: AnsiNfoModalProps) {