MCPcopy Index your code
hub / github.com/continuedev/continue / useIntroMessage

Function useIntroMessage

extensions/cli/src/ui/hooks/useTUIChatHooks.ts:107–121  ·  view source on GitHub ↗
(
  isRemoteMode: boolean,
  _services: any,
  _allServicesReady: boolean,
)

Source from the content-addressed store, hash-verified

105
106// Custom hook for intro message
107export function useIntroMessage(
108 isRemoteMode: boolean,
109 _services: any,
110 _allServicesReady: boolean,
111) {
112 const [showIntroMessage, setShowIntroMessage] = useState(false);
113
114 useEffect(() => {
115 const shouldShow = !isRemoteMode;
116
117 setShowIntroMessage(shouldShow);
118 }, [isRemoteMode]);
119
120 return [showIntroMessage, setShowIntroMessage] as const;
121}
122
123// Custom hook to combine all selector logic
124export function useSelectors(

Callers 1

TUIChatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected