From bd13a2373aa3026ed8bf1fea2ad3a4596e68352c Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 29 Jan 2025 12:40:21 +0530 Subject: [PATCH] nf tweak --- .../components/Sidebar/SubscriptionCard.tsx | 53 ++++++++----------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx index 6723691c17..b3ed7d6ada 100644 --- a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx +++ b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx @@ -50,17 +50,14 @@ export const SubscriptionCard: React.FC = ({ ); }; -const BackgroundOverlay: React.FC = () => { - return ( - - ); -}; +const BackgroundOverlay: React.FC = () => ( + +); const ClickOverlay: React.FC = ({ onClick }) => ( = ({ userDetails }) => { - return ( - - - {userDetails && isPartOfFamilyWithOtherMembers(userDetails) ? ( - - ) : ( - - )} - - - ); -}; +> = ({ userDetails }) => ( + + + {userDetails && isPartOfFamilyWithOtherMembers(userDetails) ? ( + + ) : ( + + )} + + +); interface IndividualSubscriptionCardContentProps { userDetails: UserDetails;