mirror of
https://github.com/morten-olsen/refocus.dev.git
synced 2026-02-08 00:46:25 +01:00
fix: clickable items
This commit is contained in:
@@ -30,7 +30,14 @@ const View = withGithub<Props>(({ owner, repo, pr }) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <Github.PullRequest pullRequest={data} />;
|
||||
return (
|
||||
<Github.PullRequest
|
||||
pullRequest={data}
|
||||
onPress={() =>
|
||||
window.open(`https://github.com/${owner}/${repo}/pull/${pr}`, '_blank')
|
||||
}
|
||||
/>
|
||||
);
|
||||
}, Github.NotLoggedIn);
|
||||
|
||||
export { View };
|
||||
|
||||
Reference in New Issue
Block a user