A second search query is triggered with anonymous user on the same search instance


We have Algolia searchbox integrated into our ecommerce app and each time I search on the site, the same query is sent twice to Algolia (and one of the requests is sent with anonymous userToken)

By debugging, I can see that the second search is done with the same instantSearch instance. We’re also passing in a searchFunction for the instantsearch, and when debugging, the searchFunction gets hit twice even tough the search() function on the instantsearch instance is called once.
There was a thread with a similar issue, and I’ve excluded the case that the component is reloaded.

Here are the requests being triggered during search


Any help with this is appreciated,