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

Duplicated queries network request when using search-insights setAuthenticatedUserToken #6216

Open
1 task done
Ali-hd opened this issue May 25, 2024 · 0 comments
Open
1 task done
Labels
triage Issues to be categorized by the team

Comments

@Ali-hd
Copy link

Ali-hd commented May 25, 2024

🐛 Current behavior

There are duplicated queries request when trying to run aa('setAuthenticatedUserToken', '12345'); from search-insights package

This issue occurred after upgrading from react-instantsearch 7.5.0 > 7.8.0

🔍 Steps to reproduce

  1. Open the network tab in browser dev tools
  2. Reload the page
  3. Observe the duplicated queries request

Live reproduction

https://codesandbox.io/p/sandbox/youthful-ishizaka-vv9dsd

💭 Expected behavior

There should not be duplicated queries request when running aa('setAuthenticatedUserToken', '12345');

Package version

react-instantsearch 7.9.0

Operating system

windows 10 pro

Browser

Version 125.0.6422.78 (Official Build) (64-bit)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Ali-hd Ali-hd added the triage Issues to be categorized by the team label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues to be categorized by the team
Projects
None yet
Development

No branches or pull requests

1 participant