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

Update documentation #127

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Update documentation #127

merged 1 commit into from
Jan 26, 2024

Conversation

swong1213
Copy link
Contributor

Update README.md to import { analytics } from "@yext/analytics" instead of import { Analytics }..., and remove usages of new.

J=FUS-6200
TEST=manual

Since the test site does import { analytics } from "@yext/analytics", and calls the analytics function without using the new keyword, I ran the test site and confirmed that clicking the buttons successfully fired analytics events.

Copy link
Contributor

@ejaffee01 ejaffee01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swong1213 swong1213 merged commit 4286541 into main Jan 26, 2024
13 checks passed
@swong1213 swong1213 deleted the update-doc branch January 26, 2024 21:03
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