threads icon indicating copy to clipboard operation
threads copied to clipboard

error with onSubmit & connecting to database

Open tpratt57 opened this issue 1 year ago • 2 comments

Honestly for the life of me cannot figure out why the onSubmit is throwing an error but I'm pretty sure that's one of the main issues why i'm having issues connecting to the database. I'm about two hours into the video and think I've just been looking at code for too long to figure it out.

Desktop Screenshot 2023 08 29 - 16 26 46 23 Desktop Screenshot 2023 08 29 - 16 35 43 05 Desktop Screenshot 2023 08 29 - 16 35 59 36

tpratt57 avatar Aug 29 '23 21:08 tpratt57

I think you have not defined the onSubmit function which is an asynchronous function. Kindly go through the completed code

Honestly for the life of me cannot figure out why the onSubmit is throwing an error but I'm pretty sure that's one of the main issues why i'm having issues connecting to the database. I'm about two hours into the video and think I've just been looking at code for too long to figure it out.

Desktop Screenshot 2023 08 29 - 16 26 46 23 Desktop Screenshot 2023 08 29 - 16 35 43 05 Desktop Screenshot 2023 08 29 - 16 35 59 36

Reedam-Ranjan avatar Sep 10 '23 05:09 Reedam-Ranjan

I think you have not defined the onSubmit function which is an asynchronous function. Kindly go through the completed code

I have several times over the last two weeks, still ends with the same error. I've gone through the video and manually retyped everything at least once a day the last two weeks, nothing is working.

tpratt57 avatar Sep 10 '23 06:09 tpratt57