about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/GifEmbed.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-06-14 14:24:04 -0500
committerGitHub <noreply@github.com>2024-06-14 14:24:04 -0500
commit5751014117ff87a0b5188841b468095f00305ed5 (patch)
treeea34cf6f99797da7dc05a561e8e5ad4fb753f11b /src/view/com/util/post-embeds/GifEmbed.tsx
parent51a3e601324b4032257e5e932a8eedc39f539975 (diff)
downloadvoidsky-5751014117ff87a0b5188841b468095f00305ed5.tar.zst
Feed source card (#4512)
* Pass event through click handlers

* Add FeedCard, use in Feeds screen

* Tweak space

* Don't contrain rt height

* Tweak space

* Fix type errors, don't pass event to fns that don't expect it

* Show unresolved RT prior to facet resolution
Diffstat (limited to 'src/view/com/util/post-embeds/GifEmbed.tsx')
-rw-r--r--src/view/com/util/post-embeds/GifEmbed.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/GifEmbed.tsx b/src/view/com/util/post-embeds/GifEmbed.tsx
index 1c0cf3d39..f2e2a8b0e 100644
--- a/src/view/com/util/post-embeds/GifEmbed.tsx
+++ b/src/view/com/util/post-embeds/GifEmbed.tsx
@@ -181,7 +181,7 @@ function AltText({text}: {text: string}) {
         <Prompt.DescriptionText selectable>{text}</Prompt.DescriptionText>
         <Prompt.Actions>
           <Prompt.Action
-            onPress={control.close}
+            onPress={() => control.close()}
             cta={_(msg`Close`)}
             color="secondary"
           />