Refactor ApplyBusiness component and fetch user data on page load

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2024-10-30 15:07:42 +07:00
parent ca895bd605
commit 6298abe0c9

View File

@ -154,8 +154,8 @@ export default function ApplyBusiness() {
console.error("Error fetching user ID:", error);
}
};
setSucess(true);
// fetchUserData();
// setSucess(true);
fetchUserData();
}, []);
return (