fix(user): refresh profile on sidebar open

This commit is contained in:
2026-06-30 11:36:52 +08:00
parent 345c5f7f25
commit 6e811b0e09
4 changed files with 16 additions and 19 deletions
+1 -4
View File
@@ -7,8 +7,5 @@ export type UserEvent =
| { type: "UserInit" }
| { type: "UserFetch" }
| { type: "UserUpdate"; user: UserView }
| { type: "UserUpdateUsername"; username: string }
| { type: "UserClearLocal" }
| { type: "UserLogout" }
| { type: "UserDeleteChatHistory" }
| { type: "UserDeleteAccount" };
| { type: "UserLogout" };