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) => {
|
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(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user