Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions libs/shared-components/src/mini-overlay/overlay-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,19 +348,20 @@ const OverlayWrapper: FC<IOverlayWrapperProps> = ({
<Title style={{ userSelect: 'none', margin: '0 auto' }} level={3}>
Sign in
</Title>

<Button
type="text"
style={{
marginLeft: 'auto',
position: 'absolute',
right: '8px',
top: '8px',
}}
onClick={onClose}
>
<CloseIcon />
</Button>
{loggedInAccountId && (
<Button
type="text"
style={{
marginLeft: 'auto',
position: 'absolute',
right: '8px',
top: '8px',
}}
onClick={onClose}
>
<CloseIcon />
</Button>
)}
</Space>

<Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const NotificationFeed: FC<{
<Flex vertical>
<Space direction="horizontal">
<Text type="secondary" style={{ textTransform: 'uppercase' }}>
New ({newNotifications.length - 1})
New ({newNotifications.length})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check case when length is 0

</Text>
{newNotifications.length ? (
<Button
Expand Down
Loading