updated external links

This commit is contained in:
2024-10-31 20:21:29 +02:00
parent fd6411bb30
commit c0831df541
7 changed files with 26 additions and 22 deletions

View File

@@ -36,8 +36,7 @@ export const MessageDisplay = ({ htmlContent , isReply}) => {
const target = e.target.closest('a');
if (target) {
const href = target.getAttribute('href');
await Browser.open({ url: href });
window.electronAPI.openExternal(href);
} else {
console.error('No <a> tag found or href is null.');
}