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: add guard for navigator for use in envs that do no support navig… #36

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

kevinpagtakhan
Copy link
Contributor

…ator

Summary

Adds a check for navigator before accessing navigator.userAgent. Affects amplitude-js.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@kevinpagtakhan kevinpagtakhan requested a review from bgiori June 23, 2022 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants