diff --git a/src/view/com/modals/EditImage.tsx b/src/view/com/modals/EditImage.tsx index 09ae0194..a4e06b95 100644 --- a/src/view/com/modals/EditImage.tsx +++ b/src/view/com/modals/EditImage.tsx @@ -62,7 +62,7 @@ export const Component = observer(function ({image, gallery}: Props) { const [position, setPosition] = useState( image.attributes.position, ) - const [altText, setAltText] = useState('') + const [altText, setAltText] = useState(image?.altText ?? '') const onFlipHorizontal = useCallback(() => { image.flipHorizontal()