fix(auth): defer guest login until chat entry

This commit is contained in:
2026-07-07 14:11:36 +08:00
parent fd96cdb3d6
commit 2aaf60a497
8 changed files with 84 additions and 29 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export interface SplashButtonProps {
export function SplashButton({ onStartChat }: SplashButtonProps) {
const state = useAuthState();
const isLoading = state.isLoading;
const isLoading = !state.hasInitialized || state.isLoading;
return (
<div className={styles.wrapper}>