diff --git a/client/src/features/info/InfoNif.jsx b/client/src/features/info/InfoNif.jsx index 9bcf344dd..4935733ea 100644 --- a/client/src/features/info/InfoNif.jsx +++ b/client/src/features/info/InfoNif.jsx @@ -15,8 +15,10 @@ export default function InfoNif() { const baseURL = `http://__IP__:${4001}`; const handleLink = (url) => { - if (window.process.type === 'renderer') { + if (window.process?.type === 'renderer') { window.ipcRenderer.send('send-to-link', url); + } else { + window.open(url); } };