completed the business's apply page

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2024-10-27 21:31:09 +07:00
parent 82bfbe95a9
commit fd911a722d

View File

@ -79,7 +79,7 @@ export default function ApplyBusiness() {
if (result.isConfirmed && applyProject) { if (result.isConfirmed && applyProject) {
window.location.href = "/project/apply"; window.location.href = "/project/apply";
} else { } else {
// window.location.href = "/"; window.location.href = "/";
} }
}); });
}; };
@ -151,8 +151,8 @@ export default function ApplyBusiness() {
console.error("Error fetching user ID:", error); console.error("Error fetching user ID:", error);
} }
}; };
setSucess(true); // setSucess(true);
// fetchUserData(); fetchUserData();
}, []); }, []);
return ( return (