Closed ch3rr17 closed 5 years ago
Part of this problem is not having a db connected to the project. Once you set up a local db, if you sign up as a speaker, it will successfully add the speaker request to the db and it will show up in the admin dash under meetups. However, the talkSubmit action found in src/components/SignUp/SignUpActions.js will still throw two errors
xhr.js:178 POST http://localhost:3000/api/talks/talkSubmit net::ERR_EMPTY_RESPONSE
createError.js:16 Uncaught (in promise) Error: Network Error at e.exports (createError.js:16) at XMLHttpRequest.m.onerror (xhr.js:87)
and the TALK_SUBMIT
action will return TALK_SUBMIT_REJECTED
and not TALK_SUBMIT_FULFILLED
preventing the page from clearing out the input fields and redirecting the user to the ThankYou.jsx component.
Also because the names of some of the env variables were changed some of the process.env
Describe the bug Unable to sign up on Speaker Registration Form.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successful SignUp
Screenshots If applicable, add screenshots to help explain your problem.
1) take a screenshot
System Info (please complete the following information):
Additional context Post Error in console log upon form submission. Although object seems to be passing through
Screenshot: https://screencast.com/t/NyNl5KLT