Clean up embed replacement

This commit is contained in:
Eric Bailey
2024-08-07 10:55:10 -05:00
parent a61bef8716
commit f576db3023
3 changed files with 88 additions and 49 deletions
+3 -3
View File
@@ -283,11 +283,11 @@ let PostDropdownBtn = ({
// TODO handle failure
toggleQuoteDetachment({
postUri,
quotedUri: quoteEmbed.uri,
post,
quoteUri: quoteEmbed.uri,
action: quoteEmbed.isDetached ? 'reattach' : 'detach',
})
}, [quoteEmbed, postUri, toggleQuoteDetachment])
}, [quoteEmbed, post, toggleQuoteDetachment])
const canEmbed = isWeb && gtMobile && !hideInPWI