working on possible form to db instead of email notifications
This commit is contained in:
parent
90fd8a0d73
commit
c3d6192145
@ -21,6 +21,22 @@ export default function Home() {
|
||||
setShowPortal(!showPortal);
|
||||
};
|
||||
|
||||
// const registerUser = async () => {
|
||||
// console.log(email, password);
|
||||
// try {
|
||||
// const res = await httpAxios.post("http://127.0.0.1:5080/register", {
|
||||
// email,
|
||||
// password,
|
||||
// });
|
||||
// console.log(res)
|
||||
// router.push("/LandingPage")
|
||||
// } catch (error: any) {
|
||||
// if (error.response.status === 401) {
|
||||
// alert("Invalid Credentials");
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col px-20 bg-[#F5F5F5">
|
||||
{/* Title */}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user