From 716579d91ebeb727dbb3a1487982e4d13aff97e5 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Jun 2026 22:55:47 -0700 Subject: [PATCH] Simplify profile overflow menu --- .../profile/ProfileIdentityRail.tsx | 4 +- src/pages/ProfilePage.tsx | 120 ++---------------- 2 files changed, 14 insertions(+), 110 deletions(-) diff --git a/src/components/profile/ProfileIdentityRail.tsx b/src/components/profile/ProfileIdentityRail.tsx index 29160231..413ab369 100644 --- a/src/components/profile/ProfileIdentityRail.tsx +++ b/src/components/profile/ProfileIdentityRail.tsx @@ -560,7 +560,7 @@ export function ActionBar({ + + )} - - {isOwnProfile && ( <> )} - - {!isOwnProfile && ( - - )} - - {showZap && authorEvent && ( - - - - )} ); } @@ -1339,8 +1246,6 @@ function FollowersListModal({ pubkey, open, onOpenChange, displayName }: Followe } }; - const authorEvent = metadataEvent; - const handleRefresh = useCallback(async () => { if (!pubkey) return; await queryClient.invalidateQueries({ @@ -1612,7 +1517,6 @@ function FollowersListModal({ pubkey, open, onOpenChange, displayName }: Followe open={moreMenuOpen} onOpenChange={setMoreMenuOpen} isOwnProfile={isOwnProfile} - authorEvent={authorEvent} /> )}