From 049afdfcb6f8a18d540227a81b413eabf17460fb Mon Sep 17 00:00:00 2001 From: Jay Carlos Date: Mon, 16 Feb 2026 20:14:23 +0800 Subject: [PATCH 1/3] fix: forms ui doesn't wait for cache to be invalidated --- app/student/profile/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/student/profile/page.tsx b/app/student/profile/page.tsx index aeb53446..99f81577 100644 --- a/app/student/profile/page.tsx +++ b/app/student/profile/page.tsx @@ -789,7 +789,7 @@ const ProfileEditor = forwardRef< }, }; updateProfile(updatedProfile); - qc.invalidateQueries({ queryKey: ["my-profile"] }); + await qc.invalidateQueries({ queryKey: ["my-profile"] }); return true; }, })); From 0296998e96b76f4e5c890e773f946ef4b2b909b4 Mon Sep 17 00:00:00 2001 From: Jay Carlos Date: Mon, 16 Feb 2026 20:17:43 +0800 Subject: [PATCH 2/3] fix: forms ui doesn't wait for cache to be invalidated --- app/student/profile/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/student/profile/page.tsx b/app/student/profile/page.tsx index 99f81577..d09bc397 100644 --- a/app/student/profile/page.tsx +++ b/app/student/profile/page.tsx @@ -789,7 +789,7 @@ const ProfileEditor = forwardRef< }, }; updateProfile(updatedProfile); - await qc.invalidateQueries({ queryKey: ["my-profile"] }); + await qc.refetchQueries({ queryKey: ["my-profile"] }); return true; }, })); From 5a2368797d22be2714e4f290f44e4e77e3349a83 Mon Sep 17 00:00:00 2001 From: Jana Marie Bantolino Date: Mon, 16 Feb 2026 21:12:46 +0800 Subject: [PATCH 3/3] fix: cancel btn not working --- components/modals/modal-registry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/modals/modal-registry.tsx b/components/modals/modal-registry.tsx index acea919a..98551c2f 100644 --- a/components/modals/modal-registry.tsx +++ b/components/modals/modal-registry.tsx @@ -189,7 +189,7 @@ export const useModalRegistry = () => { hasClose: false, allowBackdropClick: false, closeOnEsc: false, - showHeaderDivider, + showHeaderDivider: true, }, ), close: () => close("cancel-form-request"),