mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 03:30:25 -05:00
🐛 fix(notify): Ensure user info is updated after notification settings submission
This commit is contained in:
parent
3652819ac9
commit
9bc3a940ba
@ -35,7 +35,7 @@ export default function NotifySettings() {
|
||||
async function onSubmit(data: z.infer<typeof FormSchema>) {
|
||||
await updateUserNotify(data);
|
||||
toast.success(t('notify.updateSuccess'));
|
||||
getUserInfo();
|
||||
await getUserInfo();
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user