You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Address modal is rendered twice on the restaurant detail page. I thought it was due to using react's strict mode but it doesn't seem so.
This is low priority I think, i just need a workaround in cypress tests.
To Reproduce
Steps to reproduce the behavior:
Go to restaurant page
Add a product to the cart to trigger the opening of the address modal
The component is rendered twice, you can search for example for "address-autosuggest__input" in the HTML inspector to find the two inputs
Expected behavior
Modal is only rendered once
Screenshots
The text was updated successfully, but these errors were encountered:
Atala
changed the title
Address modal is rendered twice on the restaurant detail page
Address modal is rendered twice on the restaurant detail page (found locally)
Apr 16, 2024
I don't know, I don't think so. I think your problem is caused by some code asking automatically for the adress (the customer has already entered it but the program pushing the adress modal doesnt know)
Describe the bug
Address modal is rendered twice on the restaurant detail page. I thought it was due to using react's strict mode but it doesn't seem so.
This is low priority I think, i just need a workaround in cypress tests.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Modal is only rendered once
Screenshots
The text was updated successfully, but these errors were encountered: