We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d4c07 commit cc59c28Copy full SHA for cc59c28
packages/camera/src/components/Capture/capture.js
@@ -354,14 +354,14 @@ const Capture = forwardRef(({
354
}
355
}, [setAddDamageStatus, lastAddDamageHelpTimestamp]);
356
357
- const handleOnFinishUploadPicture = useCallback(async () => {
+ const handleOnFinishUploadPicture = useCallback(async (state, a) => {
358
try {
359
await onNavigateToNextSight();
360
} catch (err) {
361
log([`Error in \`<Capture />\` \`goNextSight()\`: ${err}`], 'err');
362
} finally {
363
api.goNextSight();
364
- onFinishUploadPicture();
+ onFinishUploadPicture(state, a);
365
366
}, [api]);
367
0 commit comments