this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Handle null status for "mention" notification

+5
+5
src/components/notification.jsx
··· 79 79 ? contentText[isSelf ? 'poll-self' : isVoted ? 'poll-voted' : 'poll'] 80 80 : contentText[type]; 81 81 82 + if (type === 'mention' && !status) { 83 + // Could be deleted 84 + return null; 85 + } 86 + 82 87 return ( 83 88 <div class={`notification notification-${type}`} tabIndex="0"> 84 89 <div