We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb357c commit cd43dacCopy full SHA for cd43dac
1 file changed
src/features/post/useIsPostUrlMedia.ts
@@ -25,7 +25,7 @@ export default function useIsPostUrlMedia() {
25
if (isRedgif(url)) return "from-url";
26
}
27
28
- if (post.post.body && findLoneImage(post.post.body)) {
+ if (!post.post.url && post.post.body && findLoneImage(post.post.body)) {
29
return "from-body";
30
31
0 commit comments