(t0)
| 9 | onSubmit: () => void; |
| 10 | } |
| 11 | export function InstallAppStep(t0) { |
| 12 | const $ = _c(12); |
| 13 | const { |
| 14 | repoUrl, |
| 15 | onSubmit |
| 16 | } = t0; |
| 17 | let t1; |
| 18 | if ($[0] === Symbol.for("react.memo_cache_sentinel")) { |
| 19 | t1 = { |
| 20 | context: "Confirmation" |
| 21 | }; |
| 22 | $[0] = t1; |
| 23 | } else { |
| 24 | t1 = $[0]; |
| 25 | } |
| 26 | useKeybinding("confirm:yes", onSubmit, t1); |
| 27 | let t2; |
| 28 | if ($[1] === Symbol.for("react.memo_cache_sentinel")) { |
| 29 | t2 = <Box flexDirection="column" marginBottom={1}><Text bold={true}>Install the Claude GitHub App</Text></Box>; |
| 30 | $[1] = t2; |
| 31 | } else { |
| 32 | t2 = $[1]; |
| 33 | } |
| 34 | let t3; |
| 35 | if ($[2] === Symbol.for("react.memo_cache_sentinel")) { |
| 36 | t3 = <Box marginBottom={1}><Text>Opening browser to install the Claude GitHub App…</Text></Box>; |
| 37 | $[2] = t3; |
| 38 | } else { |
| 39 | t3 = $[2]; |
| 40 | } |
| 41 | let t4; |
| 42 | if ($[3] === Symbol.for("react.memo_cache_sentinel")) { |
| 43 | t4 = <Box marginBottom={1}><Text>If your browser doesn't open automatically, visit:</Text></Box>; |
| 44 | $[3] = t4; |
| 45 | } else { |
| 46 | t4 = $[3]; |
| 47 | } |
| 48 | let t5; |
| 49 | if ($[4] === Symbol.for("react.memo_cache_sentinel")) { |
| 50 | t5 = <Box marginBottom={1}><Text underline={true}>https://github.com/apps/claude</Text></Box>; |
| 51 | $[4] = t5; |
| 52 | } else { |
| 53 | t5 = $[4]; |
| 54 | } |
| 55 | let t6; |
| 56 | if ($[5] !== repoUrl) { |
| 57 | t6 = <Box marginBottom={1}><Text>Please install the app for repository: <Text bold={true}>{repoUrl}</Text></Text></Box>; |
| 58 | $[5] = repoUrl; |
| 59 | $[6] = t6; |
| 60 | } else { |
| 61 | t6 = $[6]; |
| 62 | } |
| 63 | let t7; |
| 64 | if ($[7] === Symbol.for("react.memo_cache_sentinel")) { |
| 65 | t7 = <Box marginBottom={1}><Text dimColor={true}>Important: Make sure to grant access to this specific repository</Text></Box>; |
| 66 | $[7] = t7; |
| 67 | } else { |
| 68 | t7 = $[7]; |
nothing calls this directly
no test coverage detected