🐛 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>) {
|
async function onSubmit(data: z.infer<typeof FormSchema>) {
|
||||||
await updateUserNotify(data);
|
await updateUserNotify(data);
|
||||||
toast.success(t('notify.updateSuccess'));
|
toast.success(t('notify.updateSuccess'));
|
||||||
getUserInfo();
|
await getUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user