diff --git a/src/app/(auth)/register/page.tsx b/src/app/(auth)/register/page.tsx index 65fcb55..700c083 100644 --- a/src/app/(auth)/register/page.tsx +++ b/src/app/(auth)/register/page.tsx @@ -85,18 +85,8 @@ const Register: React.FC = () => { router.push("/vendor/home"); }, onError: () => { - // setRegisterError( - // "Registration failed. Please check your credentials and try again." - // ); - console.log( - "name " + name, - "description " + description, - "country " + country, - "state " + state, - "city " + city, - "address " + address, - "opening_time " + opening_time, - "closing_time " + closing_time + setRegisterError( + "Registration failed. Please check your credentials and try again." ); }, } @@ -146,15 +136,15 @@ const Register: React.FC = () => {
setDescription(event.target?.value)} className="bg-white border border-black text-[#000000] text-sm rounded-full block w-full p-3 placeholder-[#000000]" @@ -164,17 +154,17 @@ const Register: React.FC = () => {
setAddress(event.target?.value)} className="bg-white border border-black text-[#000000] text-sm rounded-full block w-full p-3 placeholder-[#000000]" @@ -249,15 +239,15 @@ const Register: React.FC = () => {
setOpeningTime(event.target?.value)} className="bg-white border border-black text-[#000000] text-sm rounded-full block w-full p-3 placeholder-[#000000]" @@ -267,15 +257,15 @@ const Register: React.FC = () => {
setClosingTime(event.target?.value)} className="bg-white border border-black text-[#000000] text-sm rounded-full block w-full p-3 placeholder-[#000000]" @@ -291,6 +281,13 @@ const Register: React.FC = () => { Register + +

+ Already have an account?{" "} + + Login + +