5 lines
186 B
JavaScript
5 lines
186 B
JavaScript
|
export const openExternal = (url) => {
|
||
|
// Discord makes new tabs / windows (via window.open) use electron.shell.openExternal internally, so just use window.open
|
||
|
|
||
|
window.open(url);
|
||
|
};
|