From 4935225350285beff7b587638b7da3a19b2eceda Mon Sep 17 00:00:00 2001 From: Pattadon Date: Tue, 22 Oct 2024 11:15:27 +0700 Subject: [PATCH] Refactor ApplyBusiness component to fetch user data on page load --- src/app/business/apply/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index c7e90af..2dad32e 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -145,7 +145,7 @@ export default function ApplyBusiness() { } }; - // fetchUserData(); + fetchUserData(); }, []); return (