refactor(sidebar-screen): update navigation to replace splash route on logout
This commit is contained in:
@@ -70,7 +70,7 @@ export function SidebarScreen() {
|
||||
userDispatch({ type: "UserClearLocal" });
|
||||
authDispatch({ type: "AuthLogoutSubmitted" });
|
||||
void signOut({ redirect: false });
|
||||
navigator.openChat({ replace: true });
|
||||
navigator.replace(ROUTES.splash, { scroll: false });
|
||||
};
|
||||
|
||||
// 状态派生:未登录 / 已登录未 VIP / 已登录 VIP
|
||||
|
||||
Reference in New Issue
Block a user