From 9bc3a940bafdb21e66c2f0d340072da160d91571 Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Fri, 14 Feb 2025 23:42:54 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(notify):=20Ensure=20user=20i?= =?UTF-8?q?nfo=20is=20updated=20after=20notification=20settings=20submissi?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user/app/(main)/(user)/profile/notify-settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user/app/(main)/(user)/profile/notify-settings.tsx b/apps/user/app/(main)/(user)/profile/notify-settings.tsx index c1fa14f..0699048 100644 --- a/apps/user/app/(main)/(user)/profile/notify-settings.tsx +++ b/apps/user/app/(main)/(user)/profile/notify-settings.tsx @@ -35,7 +35,7 @@ export default function NotifySettings() { async function onSubmit(data: z.infer) { await updateUserNotify(data); toast.success(t('notify.updateSuccess')); - getUserInfo(); + await getUserInfo(); } return (