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);