Current implementation involves accessing the this.user.offers.selectors.offers$ observable and tying their states to the storefronts states if listed as private or unlisted. The offer is changed with this.user.offers.dispatchers.update, and the observable triggers a new value, leading to another iteration, thus the throw helps to escape from this loop.
Fixed this issue by including a "Take(1)" so that only the first emission is processed.
Current implementation involves accessing the
this.user.offers.selectors.offers$
observable and tying their states to the storefronts states if listed as private or unlisted. The offer is changed withthis.user.offers.dispatchers.update
, and the observable triggers a new value, leading to another iteration, thus the throw helps to escape from this loop.Fixed this issue by including a "Take(1)" so that only the first emission is processed.
https://github.com/involveMINT/iMPublic/assets/106701657/ac219ebd-123d-4b68-84c9-48a4c3c43346