mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(codex): stabilize goal status UI events (#652)
This commit is contained in:
@@ -28,6 +28,7 @@ export const EMPTY_STATE: MessageWindowState = {
|
||||
|
||||
export function useMessages(api: ApiClient | null, sessionId: string | null): {
|
||||
messages: DecryptedMessage[]
|
||||
pendingMessages: DecryptedMessage[]
|
||||
warning: string | null
|
||||
isLoading: boolean
|
||||
isLoadingMore: boolean
|
||||
@@ -88,6 +89,7 @@ export function useMessages(api: ApiClient | null, sessionId: string | null): {
|
||||
|
||||
return {
|
||||
messages: state.messages,
|
||||
pendingMessages: state.pending,
|
||||
warning: state.warning,
|
||||
isLoading: state.isLoading,
|
||||
isLoadingMore: state.isLoadingMore,
|
||||
|
||||
Reference in New Issue
Block a user