Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
se7en-illa committed Oct 4, 2024
1 parent b47e6c7 commit 932579f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gestalt/src/Avatar/InternalAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function InternalAvatar(props: Props) {
} = props;
const [isImageLoaded, setIsImageLoaded] = useState(true);
const handleImageError = () => setIsImageLoaded(false);
const width = size === 'fit' ? '100%' : (sizes[size] || 48);
const height = size === 'fit' ? '' : (sizes[size] || 48);
const width = size === 'fit' ? '100%' : sizes[size] || 48;
const height = size === 'fit' ? '' : sizes[size] || 48;

return (
<div
Expand Down

0 comments on commit 932579f

Please sign in to comment.