Skip to content

Commit

Permalink
solved comment PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dottyy committed Jun 7, 2024
1 parent d2067fe commit 40b5e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/extensive/Modal/ModalAdd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ const ModalAdd: FC<ModalAddProps> = ({
<When condition={!!iconProps}>
<Icon
{...iconProps!}
width={iconProps?.width || 40}
width={iconProps?.width ?? 40}
className={twMerge("mb-8", iconProps?.className)}
style={{ minHeight: iconProps?.height || iconProps?.width || 40 }}
style={{ minHeight: iconProps?.height ?? iconProps?.width ?? 40 }}
/>
</When>
<div className="flex items-center justify-between">
Expand Down

0 comments on commit 40b5e6c

Please sign in to comment.