Merge branch 'AW-43-palmistry-loader-after-photo' into 'develop'

AW-43-palmistry-loader-after-photo

See merge request witapp/aura-webapp!167
This commit is contained in:
Daniil Chemerkin 2024-06-06 22:00:59 +00:00
commit a5f143cc81

View File

@ -78,11 +78,12 @@ export default function StepUpload(props: Props) {
}; };
const onTakePhoto = async (photo: string) => { const onTakePhoto = async (photo: string) => {
setUploadMenuModalIsOpen(false);
setPalmCameraModalIsOpen(false);
setIsUpladProcessing(true);
const file = DataURIToBlob(photo); const file = DataURIToBlob(photo);
await getLines(file); await getLines(file);
setPalmPhoto(photo as string); setPalmPhoto(photo as string);
setUploadMenuModalIsOpen(false);
setPalmCameraModalIsOpen(false);
}; };
useEffect(() => { useEffect(() => {