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: update popperjs dependency #35

Merged
merged 1 commit into from
Jan 31, 2024
Merged

fix: update popperjs dependency #35

merged 1 commit into from
Jan 31, 2024

Conversation

connorlindsey
Copy link
Contributor

Adds missing popperjs import

Copy link

changeset-bot bot commented Jan 31, 2024

🦋 Changeset detected

Latest commit: 1ccb6be

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

This PR includes changesets to release 1 package
Name Type
@knocklabs/react Patch

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

@@ -46,6 +46,7 @@
"dependencies": {
"@knocklabs/client": "*",
"@knocklabs/react-core": "*",
"@popperjs/core": "^2.11.8",
Copy link
Contributor

Choose a reason for hiding this comment

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

Guessing this is a peer dependency of react-popper?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it's a peer dependency in react-popper, but we also use it for types in NotificationFeedPopover.tsx. Not sure why it being missing didn't break the build. Issue only surfaced when there was a conflict with a user's app which also had react-popper installed.

@connorlindsey connorlindsey merged commit 4c16762 into main Jan 31, 2024
1 check passed
@connorlindsey connorlindsey deleted the popper-dep branch January 31, 2024 16:09
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