diff --git a/ui/helpers/utils/window.ts b/ui/helpers/utils/window.ts index 1f9d15a1d9f0..ed352a6d93ba 100644 --- a/ui/helpers/utils/window.ts +++ b/ui/helpers/utils/window.ts @@ -1,3 +1,3 @@ -export const openWindow = (url: string, target: string) => { +export const openWindow = (url: string, target?: string) => { window.open(url, target || '_blank', 'noopener'); };