Skip to content

Commit b51161e

Browse files
authored
Merge pull request #12272 from ethereum/fix-bad-links
Hide contributor's profile link if the url doesn't exist
2 parents a24037d + b976889 commit b51161e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FileContributors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const FileContributors = ({
146146
<Skeleton isLoaded={!loading}>
147147
<Text m={0} color="text200">
148148
<Translation id="last-edit" />:{" "}
149-
{lastContributor.user && (
149+
{lastContributor.user?.url && (
150150
<InlineLink to={lastContributor.user.url}>
151151
@{lastContributor.user.login}
152152
</InlineLink>

0 commit comments

Comments
 (0)