Open khalidfasely opened 1 year ago
The problem was that when we get an error in a product after trying to create a review, and we go to other product the error stays in the state and renders for every product. So we reset the review state every time the component renders.
The problem was that when we get an error in a product after trying to create a review, and we go to other product the error stays in the state and renders for every product. So we reset the review state every time the component renders.