From a6ee05b449372b6322f25f43333783ba5a9307f1 Mon Sep 17 00:00:00 2001 From: Dylan Staley <88163+dstaley@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:47:59 -0800 Subject: [PATCH] fix(clerk-js): Call openSignIn instead of openSignUp (#4764) --- .changeset/fresh-turtles-bow.md | 2 ++ packages/clerk-js/sandbox/app.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changeset/fresh-turtles-bow.md diff --git a/.changeset/fresh-turtles-bow.md b/.changeset/fresh-turtles-bow.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/fresh-turtles-bow.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/sandbox/app.ts b/packages/clerk-js/sandbox/app.ts index 27b10e1ae7..f62ab2273f 100644 --- a/packages/clerk-js/sandbox/app.ts +++ b/packages/clerk-js/sandbox/app.ts @@ -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); }