Skip to content

Commit 06b6341

Browse files
authored
Update ImageCapture.tsx
1 parent 487376b commit 06b6341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hello-world/next/components/ImageCapture/ImageCapture.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function ImageCapture() {
1111
let pCvRouter: MutableRefObject<Promise<CaptureVisionRouter> | null> = useRef(null);
1212
let isDestroyed = useRef(false);
1313

14-
const captureImage = useCallback(async (e: React.ChangeEvent<HTMLInputElement>) => {
14+
const captureImage = async (e: React.ChangeEvent<HTMLInputElement>) => {
1515
let files = [...(e.target.files as any as File[])];
1616
e.target.value = ""; // reset input
1717
let _resultText = "";

0 commit comments

Comments
 (0)