From 55f17f4d4dfc231a8344924c2ad5ff0f4cadf4fe Mon Sep 17 00:00:00 2001 From: caiodasilva2005 Date: Tue, 17 Dec 2024 08:40:16 -0500 Subject: [PATCH] #3060-prettier --- .../AdminToolsPage/EditGuestView/EditLogo.tsx | 3 +-- .../pages/HomePage/components/LogoDisplay.tsx | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogo.tsx b/src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogo.tsx index 9ba6a4643e..13ef97a3f6 100644 --- a/src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogo.tsx +++ b/src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogo.tsx @@ -15,8 +15,7 @@ const EditLogo = () => { const [isEditMode, setIsEditMode] = useState(false); const theme = useTheme(); - if (isLoading || !mutateAsync || organizationIsLoading || !organization || imageDataIsLoading) - return ; + if (isLoading || !mutateAsync || organizationIsLoading || !organization || imageDataIsLoading) return ; const handleClose = () => { setIsEditMode(false); diff --git a/src/frontend/src/pages/HomePage/components/LogoDisplay.tsx b/src/frontend/src/pages/HomePage/components/LogoDisplay.tsx index e56da136cf..0ebeb68db5 100644 --- a/src/frontend/src/pages/HomePage/components/LogoDisplay.tsx +++ b/src/frontend/src/pages/HomePage/components/LogoDisplay.tsx @@ -17,15 +17,17 @@ const LogoDisplay: React.FC = ({ imageUrl }) => { borderRadius: 2 }} > - {imageUrl && } + {imageUrl && ( + + )} ); };