diff options
author | Eric Bailey <git@esb.lol> | 2024-05-31 12:14:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 12:14:11 -0500 |
commit | 2bb36948198b9a0787544258bde72b4d3c6d78b0 (patch) | |
tree | 97fcb2db666eeb2f05e481c4ca47ae4e99cb37d6 /src/components/moderation/PostAlerts.tsx | |
parent | cd3b502b343e5e79d9a6df77d08935829b655f55 (diff) | |
download | voidsky-2bb36948198b9a0787544258bde72b4d3c6d78b0.tar.zst |
[🐴] Add labels to chats (#4293)
* Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
Diffstat (limited to 'src/components/moderation/PostAlerts.tsx')
-rw-r--r-- | src/components/moderation/PostAlerts.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/moderation/PostAlerts.tsx b/src/components/moderation/PostAlerts.tsx index 5a33bbc80..0b48b51d1 100644 --- a/src/components/moderation/PostAlerts.tsx +++ b/src/components/moderation/PostAlerts.tsx @@ -64,7 +64,9 @@ function PostLabel({ <> <Button label={desc.name} - onPress={() => { + onPress={e => { + e.preventDefault() + e.stopPropagation() control.open() }}> {({hovered, pressed}) => ( |