social card clean up #458

Merged
Irev-Dev merged 9 commits from kurt/97-clean-up into main 2021-08-16 21:10:26 +02:00
Showing only changes of commit b902713847 - Show all commits

View File

@@ -92,7 +92,7 @@ const CaptureButton = ({
// if there isn't a screenshot saved yet, just go ahead and save right away
if (shouldUpdateImage) {
config.cloudinaryImgURL = (await uploadAndUpdateImage()).public_id
config.cloudinaryImgURL = await uploadAndUpdateImage()
config.updated = true
setCaptureState(config)
}
@@ -155,7 +155,7 @@ const CaptureButton = ({
const cloudinaryImg = await captureState.callback()
setCaptureState({
...captureState,
currImage: cloudinaryImg.public_id,
currImage: cloudinaryImg,
updated: true,
})
}}