fix(FN-XXX): unify codex auth and chat fallback

This commit is contained in:
gsxdsm
2026-05-03 23:08:05 -07:00
parent 7fca3e6628
commit bacc103e4e
41 changed files with 2340 additions and 325 deletions

View File

@@ -35,7 +35,7 @@ import { useMobileScrollLock } from "../hooks/useMobileScrollLock";
export interface ChatViewProps {
projectId?: string;
addToast: (msg: string, type?: "success" | "error") => void;
addToast: (msg: string, type?: "success" | "error" | "warning") => void;
}
function formatRelativeTime(dateStr: string): string {
@@ -712,7 +712,7 @@ export function ChatView({ projectId, addToast }: ChatViewProps) {
searchQuery,
setSearchQuery,
filteredSessions,
} = useChat(projectId);
} = useChat(projectId, addToast);
const [showNewDialog, setShowNewDialog] = useState(false);
const [messageInput, setMessageInput] = useState("");