ContriHUB / EAT_EASY

EatEasy- A mess management website , Managing Complaints Mastering Satisfaction
MIT License
0 stars 18 forks source link

Fix Bug in Contact Us Form #15

Closed RajatX24 closed 1 month ago

RajatX24 commented 1 month ago

Related Issue

Fixes #13

Description

Fixed the bug in contact us form.

frontend

The bug was arising in the file src/pages/ContactUs.js due to the following reasons:

image

Fix

image

image image

Backend

Type of change

Motivation and Context

Initially the Contact Us form wasn't working. On pressing the submit button there was an alert shown saying that an error occured. Due to this the users were unable to contact the project owners.

How Has This Been Tested?

Tests have been made by trying to submit a response via the Contact Us Form.

frontend

Screenshots:

Screenshot 2024-10-12 120348 Screenshot 2024-10-12 120406 Screenshot 2024-10-12 120441

Checklist:

Test Configuration:

RajatX24 commented 1 month ago

If there are any changes that need to be made, please let me know. If merging, please add the hacktoberfest-accepted label, i would be grateful.

Thanks.

Codipk commented 1 month ago

@RajatX24 Athough I was expecting that message will be send to the owner via mail not storing in db but it is okay! Also Make the Ui look decent . Replace White background with the similar kind of gradient just like in about us page