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;