Closed vladimir-8 closed 3 months ago
fixed: avoid calling sync() action twice on loading a restaurant page: http://*/en/restaurant/3-burger-bar
Which leads to a double POST/*/restaurant/*/cart requests with in turn leads to a creation of double adjustments (delivery fees)
/*/restaurant/*/cart
❗️you will probably see double POST requests in the development environment, that due to the StrictMode
StrictMode
could fix the global issue about duplicated delivery fees?
At least partially. I remember I saw that it happens from the mobile app sometimes, but that fix will not fix that
fixed: avoid calling sync() action twice on loading a restaurant page: http://*/en/restaurant/3-burger-bar
Which leads to a double POST
/*/restaurant/*/cart
requests with in turn leads to a creation of double adjustments (delivery fees)❗️you will probably see double POST requests in the development environment, that due to the
StrictMode