mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-23 04:36:52 +00:00
updated external links
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user