mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update redux store and service
This commit is contained in:
@ -39,8 +39,9 @@ const MyAccountSection: React.FC<Props> = () => {
|
||||
}
|
||||
|
||||
try {
|
||||
await userService.updateUsername(username);
|
||||
await userService.doSignIn();
|
||||
await userService.patchUser({
|
||||
name: username,
|
||||
});
|
||||
toastHelper.info("Username changed");
|
||||
} catch (error: any) {
|
||||
toastHelper.error(error.message);
|
||||
|
Reference in New Issue
Block a user