Skip to content

Commit d3d711d

Browse files
panteliselefwobsoriano
authored andcommitted
fix(clerk-js): Keyless button to open new tab (#4852)
1 parent a1cad15 commit d3d711d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/brave-sloths-fail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Opens new tab when claiming keys on Keyless mode.

packages/clerk-js/src/ui/components/KeylessPrompt/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ const _KeylessPrompt = (_props: KeylessPromptProps) => {
369369

370370
<a
371371
href={claimed ? _props.copyKeysUrl : _props.claimUrl}
372+
target='_blank'
372373
rel='noopener noreferrer'
373374
data-expanded={isExpanded}
374375
css={css`

0 commit comments

Comments
 (0)