fix notification icons

This commit is contained in:
Sean Yesmunt 2020-11-13 12:58:31 -05:00
parent 92817203fc
commit 509cbb07fe

View file

@ -63,7 +63,7 @@ export default function Notification(props: Props) {
let icon; let icon;
switch (notification_rule) { switch (notification_rule) {
case NOTIFICATIONS.NOTIFICATION_CREATOR_SUBSCRIBER: case NOTIFICATIONS.NOTIFICATION_CREATOR_SUBSCRIBER:
icon = <Icon icon={ICONS.SUBSCRIBE} sectionIcon className="notification__icon" />; icon = <Icon icon={ICONS.SUBSCRIBE} sectionIcon />;
break; break;
case NOTIFICATIONS.NOTIFICATION_COMMENT: case NOTIFICATIONS.NOTIFICATION_COMMENT:
icon = <ChannelThumbnail small uri={notification_parameters.dynamic.comment_author} />; icon = <ChannelThumbnail small uri={notification_parameters.dynamic.comment_author} />;
@ -79,7 +79,7 @@ export default function Notification(props: Props) {
icon = <Icon icon={ICONS.LBC} sectionIcon />; icon = <Icon icon={ICONS.LBC} sectionIcon />;
break; break;
default: default:
icon = <Icon icon={ICONS.NOTIFICATION} sectionIcon className="notification__icon" />; icon = <Icon icon={ICONS.NOTIFICATION} sectionIcon />;
} }
function handleNotificationClick() { function handleNotificationClick() {