Skip to content

Commit aef206a

Browse files
SaraVieiraCompuIves
authored andcommitted
* Add tooltip for Notifications button * Update packages/app/src/app/pages/common/Navigation/index.js
1 parent 0689340 commit aef206a

File tree

1 file changed

+5
-3
lines changed
  • packages/app/src/app/pages/common/Navigation

1 file changed

+5
-3
lines changed

packages/app/src/app/pages/common/Navigation/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@ const Navigation = ({ title, searchNoInput }: Props) => {
105105
style={{ position: 'relative', fontSize: '1.25rem' }}
106106
onClick={open}
107107
>
108-
<BellIcon height={35} />
109-
{userNotifications.unreadCount > 0 && <UnreadIcon />}
108+
<Tooltip placement="bottom" content={store.userNotifications.unreadCount > 0 ? 'Show Notifications' : 'No Notifications'}>
109+
<BellIcon height={35} />
110+
{userNotifications.unreadCount > 0 && <UnreadIcon />}
111+
</Tooltip>
110112
</Action>
111113
)}
112114
</OverlayComponent>
@@ -130,5 +132,5 @@ const Navigation = ({ title, searchNoInput }: Props) => {
130132
</Wrapper>
131133
</Row>
132134
);
133-
}
135+
};
134136
export default observer(Navigation);

0 commit comments

Comments
 (0)