Skip to content

Commit

Permalink
fix(clerk-js): Call openSignIn instead of openSignUp (#4764)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstaley authored Dec 12, 2024
1 parent c7d7f45 commit a6ee05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/fresh-turtles-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/clerk-js/sandbox/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function mountOpenSignInButton(element: HTMLDivElement, props) {
const button = document.createElement('button');
button.textContent = 'Open Sign In';
button.onclick = () => {
Clerk?.openSignUp(props);
Clerk?.openSignIn(props);
};
element.appendChild(button);
}
Expand Down

0 comments on commit a6ee05b

Please sign in to comment.