Skip to content

Commit

Permalink
Update modal layout
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed Jun 10, 2024
1 parent 9faadfa commit 53a6fd4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/uikit/src/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -550,13 +550,11 @@ export const Notification: FC<{
>
<HeaderWrapper ref={headerRef}>
<NotificationHeader>
<NotificationTitleRow
handleClose={
hideButton ? undefined : handleClose
}
>
{title}
</NotificationTitleRow>
{hideButton ? undefined : (
<NotificationTitleRow handleClose={handleClose}>
{title}
</NotificationTitleRow>
)}
</NotificationHeader>
</HeaderWrapper>
{Child}
Expand Down

0 comments on commit 53a6fd4

Please sign in to comment.