From 3f097268bf185435df6a5bd5a5e904bd2dd22c1b Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 22 Jan 2026 18:53:02 -0800 Subject: [PATCH] feat: Add click event stop propagation to video embed containers and replace the "Add media" button text with an icon in the compose component. --- src/components/Compose.tsx | 5 +++-- src/components/VideoEmbed.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Compose.tsx b/src/components/Compose.tsx index 797986f..adb7c88 100644 --- a/src/components/Compose.tsx +++ b/src/components/Compose.tsx @@ -3,6 +3,7 @@ import { useState, useEffect } from 'react'; import AutoTextarea from '@/components/AutoTextarea'; import { Post, Attachment } from '@/lib/types'; +import { ImageIcon } from 'lucide-react'; import { VideoEmbed } from '@/components/VideoEmbed'; interface ComposeProps { @@ -185,8 +186,8 @@ export function Compose({ onPost, replyingTo, onCancelReply, placeholder = "What {remaining}
-