1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +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');
};