Skip to content

Commit b976889

Browse files
committed
hide contributor profile link if the url doesn't exist
1 parent 3ff7c30 commit b976889

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)