bradtraversy / proshop_mern

Shopping cart built with MERN & Redux
1.99k stars 1.18k forks source link

Product Review Carries On To Each Message Until Submits A New Rating Bug #46

Closed talmax1124 closed 3 years ago

talmax1124 commented 3 years ago

Hi, I found this bug or maybe it is a error on my part but the already have a rating message carries on to the other product pages until you submit a new one or reload.

The one i wrote a review for: Screen Shot 2020-10-27 at 12 24 55 PM

After going from there to another product it shows this without even posting a review: Screen Shot 2020-10-27 at 12 22 44 PM

Also this might be an error on my end but there is a zero on my comments section. Here is my repo: github.com/talmax1124/cduoshop

bradtraversy commented 3 years ago

It is a bug. It is because the message is still in the state. It has to be cleared. I will address that as soon as I can

On Tue, Oct 27, 2020 at 12:27 PM Carlos notifications@github.com wrote:

Hi, I found this bug or maybe it is a error on my part but the already have a rating message carries on to the other product pages until you submit a new one or reload.

The one i wrote a review for: [image: Screen Shot 2020-10-27 at 12 24 55 PM] https://user-images.githubusercontent.com/61528430/97331152-6de2df80-184f-11eb-9914-a2ef8aadfdb9.png

After going from there to another product it shows this without even posting a review: [image: Screen Shot 2020-10-27 at 12 22 44 PM] https://user-images.githubusercontent.com/61528430/97331169-73402a00-184f-11eb-9b55-1ae71b5cce9d.png

Also this might be an error on my end but there is a zero on my comments section. Here is my repo: github.com/talmax1124/cduoshop

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bradtraversy/proshop_mern/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKLGASRLLSJAPX7STLA5JTSM3YF7ANCNFSM4TBCIUTQ .

-- Brad Traversy Traversy Media

bradtraversy commented 3 years ago

Bug has been fixed