From 91ed5e06856003ff13554eb89b20d9a3f8a2fcb5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 05:52:21 +0000 Subject: [PATCH] Fix unused variables in src/pages/Capture.tsx Co-authored-by: artosien <65523959+artosien@users.noreply.github.com> --- src/pages/Capture.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Capture.tsx b/src/pages/Capture.tsx index 36bfd4c..914ebf3 100644 --- a/src/pages/Capture.tsx +++ b/src/pages/Capture.tsx @@ -7,10 +7,10 @@ export default function Capture() { const webcamRef = useRef(null); const [capturedCount, setCapturedCount] = useState(0); const totalNeeded = 12; - const [alignment, setAlignment] = useState(true); // Mock alignment + const [alignment] = useState(true); // Mock alignment const handleCapture = useCallback(() => { - const imageSrc = webcamRef.current?.getScreenshot(); + webcamRef.current?.getScreenshot(); // In a real app, we would save this image if (capturedCount < totalNeeded) { setCapturedCount(prev => prev + 1);