quintodrome/ui/src/utils/openInNewTab.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
109 B
JavaScript
Raw Normal View History

2021-06-09 18:35:20 -08:00
export const openInNewTab = (url) => {
const win = window.open(url, '_blank')
win.focus()
2021-06-21 17:20:44 -08:00
return win
2021-06-09 18:35:20 -08:00
}