(t0)
| 393 | }; |
| 394 | } |
| 395 | function InstallOnMount(t0) { |
| 396 | const $ = _c(4); |
| 397 | const { |
| 398 | ide, |
| 399 | onInstall |
| 400 | } = t0; |
| 401 | let t1; |
| 402 | let t2; |
| 403 | if ($[0] !== ide || $[1] !== onInstall) { |
| 404 | t1 = () => { |
| 405 | onInstall(ide); |
| 406 | }; |
| 407 | t2 = [ide, onInstall]; |
| 408 | $[0] = ide; |
| 409 | $[1] = onInstall; |
| 410 | $[2] = t1; |
| 411 | $[3] = t2; |
| 412 | } else { |
| 413 | t1 = $[2]; |
| 414 | t2 = $[3]; |
| 415 | } |
| 416 | useEffect(t1, t2); |
| 417 | return null; |
| 418 | } |
| 419 | export async function call(onDone: (result?: string, options?: { |
| 420 | display?: CommandResultDisplay; |
| 421 | }) => void, context: LocalJSXCommandContext, args: string): Promise<React.ReactNode | null> { |
nothing calls this directly
no test coverage detected