From b0ebb6c9d17f9f6f78bf13fd2a0ba89d83a7c2a8 Mon Sep 17 00:00:00 2001 From: Ollie H Date: Tue, 9 May 2023 12:55:44 -0700 Subject: Update web image editor (#588) * Update web image editor * Delete type-assertions.ts * Re-add getKeys * Uncomment rotation code * Revert "Uncomment rotation code" This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab. * Shuffle dependencies and update mobile resolution * Update ImageEditor modal layout for mobile * Avoid accidental closes of the EditImage modal --------- Co-authored-by: Paul Frazee --- src/view/com/modals/AltImage.tsx | 1 - 1 file changed, 1 deletion(-) (limited to 'src/view/com/modals/AltImage.tsx') diff --git a/src/view/com/modals/AltImage.tsx b/src/view/com/modals/AltImage.tsx index 0359359cc..07270d557 100644 --- a/src/view/com/modals/AltImage.tsx +++ b/src/view/com/modals/AltImage.tsx @@ -24,7 +24,6 @@ export function Component({image}: Props) { const [altText, setAltText] = useState(image.altText) const onPressSave = useCallback(() => { - setAltText(altText) image.setAltText(altText) store.shell.closeModal() }, [store, image, altText]) -- cgit 1.4.1