{short}
);
}
return (
);
}
function PullRequestCommitRow({
author,
branch,
createdAt,
hash,
message,
onOpenCommit,
profiles,
}: {
author: string;
branch: string | null;
createdAt: number;
hash: string | null;
message: string;
onOpenCommit?: (commitHash: string) => void;
profiles?: UserProfileLookup;
}) {
const authorProfile = profileForPubkey(author, profiles);
const authorLabel = labelForPubkey(author, profiles);
const openCommit =
hash && onOpenCommit ? () => onOpenCommit(hash) : undefined;
return (
No checks have been reported for this review yet.
Loading reviews…
); } if (pullRequests.length === 0) { return ({error ? "Could not load reviews for this repository." : "No reviews yet."}
); } if (selectedPullRequest) { return (