diff --git a/app/student/profile/page.tsx b/app/student/profile/page.tsx index aeb53446..d09bc397 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.refetchQueries({ queryKey: ["my-profile"] }); return true; }, })); 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"),