Skip to content

Commit

Permalink
Merge pull request #6090 from roiLeo/fix/useRedirectModal/event
Browse files Browse the repository at this point in the history
🔧 redirect modal no href
  • Loading branch information
vikiival authored May 23, 2023
2 parents 2685582 + b87d66c commit 9ac1f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/redirect/useRedirectModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const useRedirectModal = (target: string) => {

if (href && isExternal(href) && !isWhiteList(href)) {
showModal(href, $i18n)
} else {
} else if (href) {
window.open(href, '_blank')
}
}
Expand Down

0 comments on commit 9ac1f72

Please sign in to comment.