Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(clerk-js): Reprompt google one tap only when user id changes #3198

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

panteliselef
Copy link
Member

@panteliselef panteliselef commented Apr 16, 2024

Description

Previously we were triggering this error on mount, because cancel was not when the reference to "google" was changing.
image

We are not interested in handling that case as we want to intiallize and prompt (first time) only when the script it fetched

The above error is expected on cancel

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Apr 16, 2024
Copy link

changeset-bot bot commented Apr 16, 2024

🦋 Changeset detected

Latest commit: 3214bea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@panteliselef panteliselef enabled auto-merge (squash) April 16, 2024 17:32
@panteliselef panteliselef merged commit 7ad7d11 into main Apr 16, 2024
10 checks passed
@panteliselef panteliselef deleted the elef/avoid-get-fedcm-errors-on-mount branch April 16, 2024 17:41
panteliselef added a commit that referenced this pull request May 21, 2024
@panteliselef panteliselef mentioned this pull request May 21, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants