about summary refs log tree commit diff
path: root/src/view/com/post/Post.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-08-08 15:54:36 -0700
committerGitHub <noreply@github.com>2023-08-08 15:54:36 -0700
commitbbe9861eef0e9f44b31259cb92221ee4094afac2 (patch)
tree2ddafcc3a9aa5fe19714203ea4bd616c3fcad4f9 /src/view/com/post/Post.tsx
parente51dbefd0ac1c04853237ed4889601da220f54ba (diff)
downloadvoidsky-bbe9861eef0e9f44b31259cb92221ee4094afac2.tar.zst
Add alerts to embeds (#1138)
* Add alerts to embeds

* Add images to the mock data

* Fix types
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r--src/view/com/post/Post.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx
index f6873b0a0..bf9437076 100644
--- a/src/view/com/post/Post.tsx
+++ b/src/view/com/post/Post.tsx
@@ -267,7 +267,10 @@ const PostLoaded = observer(
               ) : undefined}
               {item.post.embed ? (
                 <ContentHider moderation={item.moderation.embed} style={s.mb10}>
-                  <PostEmbeds embed={item.post.embed} />
+                  <PostEmbeds
+                    embed={item.post.embed}
+                    moderation={item.moderation.embed}
+                  />
                 </ContentHider>
               ) : null}
               {needsTranslation && (