Closed RajatX24 closed 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.
@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
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:fetch
API instead of using theapiconnector.js
as used elsewhere in project.Fix
contactUsEndpoints
for creating the Contact Us message inapi.js
contactUsEndpoints
andapiconnector
in Contact Us page to post message to the serverBackend
/api/v1/contactUs
endpoint.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
Backend
Screenshots:
Checklist:
Test Configuration: