MCPcopy Create free account
hub / github.com/experdot/pointer / handleGenerate

Function handleGenerate

src/renderer/src/components/common/TreeView.tsx:232–237  ·  view source on GitHub ↗
(options: GenerateOptions)

Source from the content-addressed store, hash-verified

230 }, [onCancelAndExit])
231
232 const handleGenerate = async (options: GenerateOptions): Promise<void> => {
233 if (onGenerateItemName) {
234 await onGenerateItemName(id, options)
235 handleCancelAndExit()
236 }
237 }
238
239 useEffect(() => {
240 const handlePointerDownOutside = (event: PointerEvent): void => {

Callers 1

AIGeneratePopoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected