Skip to content

fixing the "Delete Button" in the review section #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

dipexplorer
Copy link
Contributor

Fixes #104

Fixes the issue where the "Delete" button in the review section.
Ensures that clicking the button triggers the deletion of the review from both the database and the UI.

Changes

  • Corrected the DELETE route handling in the backend from the database.
  • Updated the frontend logic to handle the form submission for review deletion.
  • Added success & error handling for better feedback to the user.

Screenshots (if applicable):

17.10.2024_04.03.04_REC.mp4

Checklist

  • I have tested the functionality of the "Delete" button for reviews.
  • I have verified that the DELETE route is working as expected.
  • I have performed a self-review of my code.
  • No new warnings were introduced.

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wanderlust-2024 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 10:34pm

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Soujanya2004 Soujanya2004 merged commit 8f1a406 into Soujanya2004:main Oct 17, 2024
4 checks passed
@dipexplorer dipexplorer deleted the bug_fix_delete_btn branch October 17, 2024 19:19
Copy link

@RadhikaMalpani1702 RadhikaMalpani1702 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanjay-kv @MastanSayyad can you review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug Report: "Delete Button" in Review Card Not Working
3 participants