Add focus for notification block too

This commit is contained in:
Lim Chee Aun 2022-12-30 23:08:55 +08:00
parent 724be17d3e
commit c0234dd26e

View file

@ -195,7 +195,7 @@ function NotificationsList({ notifications, emptyCopy }) {
{cleanNotifications.map((notification, i) => { {cleanNotifications.map((notification, i) => {
const { id, type } = notification; const { id, type } = notification;
return ( return (
<li key={id} class={`notification ${type}`}> <li key={id} class={`notification ${type}`} tabIndex="0">
<Notification notification={notification} /> <Notification notification={notification} />
</li> </li>
); );