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 && ( + + )} ); };