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

Function setStep

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

Source from the content-addressed store, hash-verified

107export async function teleportWithProgress(root: Root, sessionId: string): Promise<TeleportResult> {
108 // Capture the setState function from the rendered component
109 let setStep: (step: TeleportProgressStep) => void = () => {};
110 function TeleportProgressWrapper(): React.ReactNode {
111 const [step, _setStep] = useState<TeleportProgressStep>('validating');
112 setStep = _setStep;

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected