open update links in new tab

This commit is contained in:
Mohammad Amin Dehghani committed 2022-09-21 17:49:18 +04:30
1 parent 0cb14f3f6c
commit e92cb29025
1 file changed
+1 -1
+1 -1
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() {