open update links in new tab

pull/1531/head
Mohammad Amin Dehghani 2022-09-21 17:49:18 +04:30
parent 0cb14f3f6c
commit e92cb29025
1 changed files with 1 additions and 1 deletions

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() {