Post request is stuck on pending I need help someone

Im doing a project where when people try to login onto my registration form their info gets sent to the database Im using mongodb for the database and nodejs and express for the backend . I tested out the login and everytime I try to make a post request through my login page the promise gets stuck on pending and it never resolves .I rechecked my code mutliple times to see if there are any syntax errors and I can’t find any and there are no errors showing in the console im not sure what Im doing wrong. heres the link to my repo if anyone check out my code Mern-Auth/client/src/pages at main · devonz1/Mern-Auth · GitHub