this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix borked image when restore from draft

+2 -1
+2 -1
src/components/compose.jsx
··· 1477 1477 onRemove = () => {}, 1478 1478 }) { 1479 1479 const supportsEdit = supports('@mastodon/edit-media-attributes'); 1480 - const { url, type, id } = attachment; 1480 + const { type, id, file } = attachment; 1481 + const url = file ? URL.createObjectURL(file) : attachment.url; 1481 1482 console.log({ attachment }); 1482 1483 const [description, setDescription] = useState(attachment.description); 1483 1484 const suffixType = type.split('/')[0];