reactplay / react-play

react-play is an opensource platform that helps you learn ReactJS faster with hands-on practice model. It is a collection of projects that you can use to learn ReactJS.
https://reactplay.io
MIT License
1.33k stars 812 forks source link

🐛 [Bug report]: An issue with Create Testimonial #1520

Open Shivam-Katare opened 2 hours ago

Shivam-Katare commented 2 hours ago

Descrcibe the bug?

When we try to create a testimonial and click on the Create Testimonial button, the page refreshes, adding a refreshToken to the URL. Each time this happens, a new refreshToken is added, and the page refreshes again, but nothing else happens.

https://reactplay.io/testimonials?refreshToken=5eb18423-2820-4c87-85aa-d164ceee5b64?refreshToken=1b333bf2-f259-494b-bf9d-ae52e6bad6f2?refreshToken=e5616046-17b0-433a-ad9f-cc1af85647a0?refreshToken=e059bea3-8b2b-4825-801f-4410575d72e4

Steps to reproduce the bug?

  1. Go to the ReactPlay site
  2. Scroll down to the Testimonial Section
  3. Click on the View All Testimonial
  4. Now, click on the Create Testimonial Button
  5. It will now first ask for authorization if you're already authorized with Github, it refreshes the page and adds a refreshToken to the URL but nothing else happens.

Expected behavior

When the "Create Testimonial" button is clicked, a text box or modal should open where the user can share their feedback or experience. After saving, the new testimonial should be added to the list and displayed alongside others.

Desktop (Please provide your system information)

OS: Windows Browser: Chrome

Mobile (Please provide your device information)

No response

Screenshot / Screenshare

No response

Relevant log output

No response

Record

Code of Conduct

github-actions[bot] commented 2 hours ago

Hey! contributor, thank you for opening an Issue 🎉.

@reactplay/maintainers will review your submission soon and give you helpful feedback. If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.