MCPcopy Create free account
hub / github.com/Noumena-Network/code / StatusLineInner

Function StatusLineInner

src/components/StatusLine.tsx:406–412  ·  view source on GitHub ↗
(props: Props)

Source from the content-addressed store, hash-verified

404}
405
406function 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

Callers

nothing calls this directly

Calls 2

useSettingsFunction · 0.85
hasCommandStatusLineFunction · 0.85

Tested by

no test coverage detected