upd: fix returns

This commit is contained in:
Marie 2024-10-06 19:08:32 +02:00
parent 4b31004c2b
commit 939f07fa55
No known key found for this signature in database
GPG Key ID: 7ADF6C9CD9A28555
1 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,8 @@ export async function warningExternalWebsite(url: string) {
if (confirm.canceled) return false;
window.open(url, '_blank', 'nofollow noopener popup=false');
return window.open(url, '_blank', 'nofollow noopener popup=false');
}
return true;
return window.open(url, '_blank', 'nofollow noopener popup=false');
}