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 6269f3b928.

* Shuffle dependencies and update mobile resolution

* Update ImageEditor modal layout for mobile

* Avoid accidental closes of the EditImage modal

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
Ollie H
2023-05-09 12:55:44 -07:00
committed by GitHub
parent 8f6b5d3df9
commit b0ebb6c9d1
10 changed files with 642 additions and 16 deletions
-1
View File
@@ -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])