Skip to content

Commit 1c62602

Browse files
authored
feat: add missing mark-read tooltip (#406)
1 parent 45fb7d9 commit 1c62602

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/js/components/__snapshots__/notification.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ exports[`components/notification.js should render itself & its children 1`] = `
5959
<button
6060
className="sc-AxgMl beGRRX"
6161
onClick={[Function]}
62+
title="Mark as Read"
6263
>
6364
<svg
6465
aria-hidden="false"

src/js/components/notification.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const NotificationItem: React.FC<IProps> = (props) => {
116116
</Details>
117117
</Main>
118118
<IconWrapper>
119-
<Button onClick={() => markAsRead()}>
119+
<Button title="Mark as Read" onClick={() => markAsRead()}>
120120
<Octicon icon={Check} size={20} ariaLabel="Mark as Read" />
121121
</Button>
122122
</IconWrapper>

0 commit comments

Comments
 (0)