fix:splash 界面重定向界面问题
This commit is contained in:
@@ -33,4 +33,9 @@ export type AuthEvent =
|
||||
// OAuth 回调后:把 OAuth provider token 转交后端换业务 token
|
||||
// 由 <OAuthSessionSync /> 监听 useSession() 派发
|
||||
| { type: "AuthGoogleSyncSubmitted"; idToken: string }
|
||||
| { type: "AuthFacebookSyncSubmitted"; accessToken: string };
|
||||
| { type: "AuthFacebookSyncSubmitted"; accessToken: string }
|
||||
// ──────────────────────────────────────────────────────────────────────
|
||||
// splash / auth screen 跳完 /chat 后**清**"刚按了"信号(一次性):
|
||||
// `pendingRedirect` 在 login onDone action 里**自动**置 true(不是按钮派的)
|
||||
// —— 因此**只**需要 `AuthClearPendingRedirect` 一个事件
|
||||
| { type: "AuthClearPendingRedirect" };
|
||||
|
||||
Reference in New Issue
Block a user