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:
commit
a5f143cc81
@ -78,11 +78,12 @@ export default function StepUpload(props: Props) {
|
||||
};
|
||||
|
||||
const onTakePhoto = async (photo: string) => {
|
||||
setUploadMenuModalIsOpen(false);
|
||||
setPalmCameraModalIsOpen(false);
|
||||
setIsUpladProcessing(true);
|
||||
const file = DataURIToBlob(photo);
|
||||
await getLines(file);
|
||||
setPalmPhoto(photo as string);
|
||||
setUploadMenuModalIsOpen(false);
|
||||
setPalmCameraModalIsOpen(false);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user