Refactor for readability
This commit is contained in:
@@ -2,3 +2,4 @@ export * from './baseUrl'
|
||||
export * from './docsUrl'
|
||||
export * from './formatters'
|
||||
export * from './notifications'
|
||||
export * from './openInNewTab'
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export const openInNewTab = (url) => {
|
||||
const win = window.open(url, '_blank')
|
||||
win.focus()
|
||||
}
|
||||
Reference in New Issue
Block a user