1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/helpers/utils/window.ts
witmicko d7adbb6f41
window open noopener (#17882)
* window open noopener
2023-02-24 15:27:38 +00:00

4 lines
116 B
TypeScript

export const openWindow = (url: string, target: string) => {
window.open(url, target || '_blank', 'noopener');
};