Skip to content

Commit a6ee05b

Browse files
authored
fix(clerk-js): Call openSignIn instead of openSignUp (#4764)
1 parent c7d7f45 commit a6ee05b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.changeset/fresh-turtles-bow.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/clerk-js/sandbox/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function mountOpenSignInButton(element: HTMLDivElement, props) {
102102
const button = document.createElement('button');
103103
button.textContent = 'Open Sign In';
104104
button.onclick = () => {
105-
Clerk?.openSignUp(props);
105+
Clerk?.openSignIn(props);
106106
};
107107
element.appendChild(button);
108108
}

0 commit comments

Comments
 (0)