diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index 99832be..51078b0 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -102,11 +102,12 @@ export default function ApplyBusiness() { } }); } - setSucess(false); } else { + setSucess(true); console.error("User ID is undefined."); } } catch (error) { + setSucess(true); console.error("Error fetching user ID:", error); } };