Skip to content

Commit d5ccb2e

Browse files
#4141: Updated button text and hide description
1 parent ef56b4e commit d5ccb2e

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

dist/dev/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/prod/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/NotificationsPopup/EmptyNotifications.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ const EmptyNotifications = ({ onClose, emptyTitle, emptyText }) => (
2929
<div className={cn(styles['noti-body'], styles['noti-body-empty'], styles.center)}>
3030
<NotificationIconBig className={styles['big-icon-bell']} />
3131
<div className={styles['empty-title']}>{emptyTitle}</div>
32-
<div className={cn(styles.txt, styles['center-txt'])}>{emptyText}</div>
3332
{/*
3433
* Disabled until Settings page is ready
3534
*
35+
<div className={cn(styles.txt, styles['center-txt'])}>{emptyText}</div>
3636
<span className={cn(styles['btn-empty-noti'])} role='button'>
37-
Check Your Notifications Settings
37+
Notifications Settings
3838
</span>
3939
*/}
4040
</div>

src/components/NotificationsPopup/NotificationList.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class NotificationList extends React.Component {
110110
}
111111

112112
render () {
113-
const { onClose, onSettings, notifications, onDismiss, unReadNotifications,
113+
const { onClose, notifications, onDismiss, unReadNotifications,
114114
markNotificationAsRead, markAllNotificationAsRead, auth } = this.props
115115

116116
return (
@@ -247,9 +247,6 @@ NotificationList.propTypes = {
247247
*/
248248
onDismiss: PropTypes.func,
249249

250-
/** Called on Settings button click */
251-
onSettings: PropTypes.func,
252-
253250
onClose: PropTypes.func,
254251
unReadNotifications: PropTypes.bool,
255252
markNotificationAsRead: PropTypes.func.isRequired,

0 commit comments

Comments
 (0)