1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
Zhiyuan Zheng
2021-02-13 00:15:42 +01:00
parent 6b58bf24e4
commit d2aec8d590
3 changed files with 56 additions and 33 deletions

View File

@ -35,8 +35,8 @@ const ComposeEditAttachment: React.FC<ScreenComposeEditAttachmentProp> = ({
theAttachment.description
)
const focus = useSharedValue({
x: theAttachment.meta.focus.x,
y: theAttachment.meta.focus.y
x: theAttachment.meta?.focus?.x,
y: theAttachment.meta?.focus?.y
})
useEffect(() => {