instantsearch icon indicating copy to clipboard operation
instantsearch copied to clipboard

Duplicated queries network request when using search-insights setAuthenticatedUserToken

Open Ali-hd opened this issue 1 year ago • 0 comments

🐛 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

  • [X] I agree to follow this project's Code of Conduct

Ali-hd avatar May 25 '24 16:05 Ali-hd