Skip to content

Commit 34ebcf3

Browse files
committed
Move avatar tooltip to link
1 parent 86b1048 commit 34ebcf3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/contributors.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ function Contributors({contributors = [], latestCommit}) {
2929
{contributors.length} {pluralize('contributor', contributors.length)}
3030
</Text>
3131
{contributors.map(login => (
32-
<Link key={login} href={`https://github.com/${login}`} sx={{lineHeight: 'condensedUltra', mr: 2}}>
33-
{/* eslint-disable-next-line primer-react/a11y-tooltip-interactive-trigger */}
34-
<Tooltip key={login} aria-label={login}>
32+
<Tooltip key={login} aria-label={login}>
33+
<Link href={`https://github.com/${login}`} sx={{lineHeight: 'condensedUltra', mr: 2}}>
3534
<Avatar src={`https://github.com/${login}.png?size=40`} alt={login} />
36-
</Tooltip>
37-
</Link>
35+
</Link>
36+
</Tooltip>
3837
))}
3938
</Box>
4039
{latestCommit ? (

0 commit comments

Comments
 (0)