Fixing the link issue on contributors page. Now the redirection occurs only when link exists. #150

Closed
r2shuai wants to merge 4 commits from richard-shuai/contribution-link into main
1 changed files with 3 additions and 1 deletions
Showing only changes of commit cc67c9bd5c - Show all commits

View File

@ -32,7 +32,9 @@ export function ContributorGroup({ group }: ContributorGroupProps) {
{d.name}
</a>
) : (
<a href="#">{d.name}</a>
<a href="#" onClick={(e) => e.preventDefault()}>
{d.name}
</a>
)}
</li>
);