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: check for window.location #124

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

horsefacts
Copy link
Collaborator

@horsefacts horsefacts commented Jan 26, 2024

Motivation

window.location is not defined in a React Native environment.

Change Summary

Check for window.location in AuthKitProvider.

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review

  • PR title adheres to the conventional commits standard
  • PR has a changeset
  • PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
  • PR includes documentation if necessary
  • All commits have been signed

@horsefacts horsefacts added the bug label Jan 26, 2024
@horsefacts horsefacts merged commit 5931f5a into main Jan 26, 2024
3 checks passed
@horsefacts horsefacts deleted the horsefacts/window-compatibility branch August 19, 2024 19:23
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.

1 participant