Merge pull request #1531 from userdehghani/pr-blank-target

open update links in new tab
This commit is contained in:
Mike Cao
2022-09-24 18:36:18 -07:00
committed by GitHub

View File

@@ -18,7 +18,7 @@ export default function UpdateNotice() {
function handleViewClick() { function handleViewClick() {
updateCheck(); updateCheck();
setDismissed(true); setDismissed(true);
location.href = releaseUrl || REPO_URL; open(releaseUrl || REPO_URL, '_blank');
} }
function handleDismissClick() { function handleDismissClick() {