Skip to content

Commit

Permalink
make external button links open in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Jul 12, 2024
1 parent 3e40271 commit fa3fe68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/link/external-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const ExternalLink = ({ to, children, button, ...props }) => {
href={to}
endDecorator={<ExternalLinkIcon color="#fff"/> }
size="lg"
target="_blank"
rel="noopener noreferrer"
>
{children}
</Button>
Expand Down

0 comments on commit fa3fe68

Please sign in to comment.