Skip to content

Commit 2fc3302

Browse files
authored
Update README.md
1 parent 324c43b commit 2fc3302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hello-world/next/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function ImageCapture() {
263263
let pCvRouter: MutableRefObject<Promise<CaptureVisionRouter> | null> = useRef(null);
264264
let isDestroyed = useRef(false);
265265

266-
const captureImage = useCallback(async (e: React.ChangeEvent<HTMLInputElement>) => {
266+
const captureImage = async (e: React.ChangeEvent<HTMLInputElement>) => {
267267
let files = [...(e.target.files as any as File[])];
268268
e.target.value = ""; // reset input
269269
let _resultText = "";
@@ -431,4 +431,4 @@ Check out [Next.js deployment documentation](https://nextjs.org/docs/deployment)
431431

432432
## Support
433433

434-
If you have any questions, feel free to [contact Dynamsoft Support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme).
434+
If you have any questions, feel free to [contact Dynamsoft Support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme).

0 commit comments

Comments
 (0)