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
commit add7c5ebe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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