Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const operation = async () => {
setImage(await PhotoManipulator.overlayImage(IMAGE, OVERLAY, { x: 30, y: 65 }))
setImagePng(await PhotoManipulator.overlayImage(IMAGE, OVERLAY, { x: 30, y: 65 }, MimeType.PNG))
};
const operation = async () => {
setImage(await PhotoManipulator.overlayImage(IMAGE, OVERLAY, { x: 30, y: 65 }))
setImagePng(await PhotoManipulator.overlayImage(IMAGE, OVERLAY, { x: 30, y: 65 }, MimeType.PNG))
};