(props: Props)
| 404 | } |
| 405 | |
| 406 | function StatusLineInner(props: Props): React.ReactNode { |
| 407 | const settings = useSettings(); |
| 408 | if (hasCommandStatusLine(settings)) { |
| 409 | return <CommandStatusLine {...props} />; |
| 410 | } |
| 411 | return <BuiltInStatusLine messagesRef={props.messagesRef} lastAssistantMessageId={props.lastAssistantMessageId} />; |
| 412 | } |
| 413 | |
| 414 | // Parent (PromptInputFooter) re-renders on every setMessages, but StatusLine's |
| 415 | // own props now only change when lastAssistantMessageId flips — memo keeps it |
nothing calls this directly
no test coverage detected