diff --git a/src/components/FloatingComposeButton.tsx b/src/components/FloatingComposeButton.tsx index 86968b8c..1d22ca2d 100644 --- a/src/components/FloatingComposeButton.tsx +++ b/src/components/FloatingComposeButton.tsx @@ -11,10 +11,7 @@ import { ReplyComposeModal } from '@/components/ReplyComposeModal'; import { useCurrentUser } from '@/hooks/useCurrentUser'; import { getAvatarShape, getEmojiMaskUrl } from '@/lib/avatarShape'; -/** Drop shadow style for the planet FAB — hoisted to avoid re-creating on every render. */ -const fabShadowStyle: React.CSSProperties = { - filter: 'drop-shadow(0 4px 12px hsl(var(--primary) / 0.4)) drop-shadow(0 2px 4px hsl(var(--primary) / 0.2))', -}; + interface FloatingComposeButtonProps { /** The Nostr event kind this FAB creates. kind=1 opens compose; others show "Coming soon". */ @@ -73,7 +70,8 @@ export function FloatingComposeButton({ kind = 1, href, onFabClick, icon }: Floa