Skip to content

Commit

Permalink
#3060-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
caiodasilva2005 committed Dec 17, 2024
1 parent 53d5e72 commit 55f17f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const EditLogo = () => {
const [isEditMode, setIsEditMode] = useState(false);
const theme = useTheme();

if (isLoading || !mutateAsync || organizationIsLoading || !organization || imageDataIsLoading)
return <LoadingIndicator />;
if (isLoading || !mutateAsync || organizationIsLoading || !organization || imageDataIsLoading) return <LoadingIndicator />;

const handleClose = () => {
setIsEditMode(false);
Expand Down
20 changes: 11 additions & 9 deletions src/frontend/src/pages/HomePage/components/LogoDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ const LogoDisplay: React.FC<LogoDisplayProps> = ({ imageUrl }) => {
borderRadius: 2
}}
>
{imageUrl && <Box
component="img"
src={imageUrl}
sx={{
height: '100%',
width: '100%',
borderRadius: 2
}}
/>}
{imageUrl && (
<Box
component="img"
src={imageUrl}
sx={{
height: '100%',
width: '100%',
borderRadius: 2
}}
/>
)}
</Card>
);
};
Expand Down

0 comments on commit 55f17f4

Please sign in to comment.