MCPcopy
hub / github.com/codeaashu/claude-code / setStep

Function setStep

src/components/TeleportProgress.tsx:120–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118export async function teleportWithProgress(root: Root, sessionId: string): Promise<TeleportResult> {
119 // Capture the setState function from the rendered component
120 let setStep: (step: TeleportProgressStep) => void = () => {};
121 function TeleportProgressWrapper(): React.ReactNode {
122 const [step, _setStep] = useState<TeleportProgressStep>('validating');
123 setStep = _setStep;

Callers 6

teleportWithProgressFunction · 0.85
FeedbackFunction · 0.85
It2SetupPromptFunction · 0.85
renderFailedFunction · 0.85
WebFunction · 0.85
handleConfirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected