Skip to content

Commit e0dbdc6

Browse files
author
Meryem Kaftar
authored
fix(clerk-js): Removed nested <p> from Keyless popover (#4978)
1 parent 6e09656 commit e0dbdc6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/wet-beers-compete.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+
Remove nested <p> tag from the Keyless popover.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,11 @@ const _KeylessPrompt = (_props: KeylessPromptProps) => {
396396
Dashboard.
397397
</>
398398
) : (
399-
<p>
399+
<span>
400400
{isSignedIn
401401
? "You've created your first user! Link this application to your Clerk account to explore the Dashboard."
402402
: 'We generated temporary API keys for you. Link this application to your Clerk account to configure it.'}
403-
</p>
403+
</span>
404404
)}
405405
</p>
406406
</div>

0 commit comments

Comments
 (0)