From fd911a722d79b5c22ae54d77369a818d63f53267 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Sun, 27 Oct 2024 21:31:09 +0700 Subject: [PATCH] completed the business's apply page --- src/app/business/apply/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index 84079a1..1e18c81 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -79,7 +79,7 @@ export default function ApplyBusiness() { if (result.isConfirmed && applyProject) { window.location.href = "/project/apply"; } else { - // window.location.href = "/"; + window.location.href = "/"; } }); }; @@ -151,8 +151,8 @@ export default function ApplyBusiness() { console.error("Error fetching user ID:", error); } }; - setSucess(true); - // fetchUserData(); + // setSucess(true); + fetchUserData(); }, []); return (