open update links in new tab

This commit is contained in:
Mohammad Amin Dehghani 2022-09-21 17:49:18 +04:30
parent 0cb14f3f6c
commit e92cb29025

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