(t0)
| 202 | return s.mainLoopModel; |
| 203 | } |
| 204 | function Diagnostics(t0) { |
| 205 | const $ = _c(5); |
| 206 | const { |
| 207 | promise |
| 208 | } = t0; |
| 209 | const diagnostics = use(promise); |
| 210 | if (diagnostics.length === 0) { |
| 211 | return null; |
| 212 | } |
| 213 | let t1; |
| 214 | if ($[0] === Symbol.for("react.memo_cache_sentinel")) { |
| 215 | t1 = <Text bold={true}>System Diagnostics</Text>; |
| 216 | $[0] = t1; |
| 217 | } else { |
| 218 | t1 = $[0]; |
| 219 | } |
| 220 | let t2; |
| 221 | if ($[1] !== diagnostics) { |
| 222 | t2 = diagnostics.map(_temp5); |
| 223 | $[1] = diagnostics; |
| 224 | $[2] = t2; |
| 225 | } else { |
| 226 | t2 = $[2]; |
| 227 | } |
| 228 | let t3; |
| 229 | if ($[3] !== t2) { |
| 230 | t3 = <Box flexDirection="column" paddingBottom={1}>{t1}{t2}</Box>; |
| 231 | $[3] = t2; |
| 232 | $[4] = t3; |
| 233 | } else { |
| 234 | t3 = $[4]; |
| 235 | } |
| 236 | return t3; |
| 237 | } |
| 238 | function _temp5(diagnostic, i) { |
| 239 | return <Box key={i} flexDirection="row" gap={1} paddingX={1}><Text color="error">{figures.warning}</Text>{typeof diagnostic === "string" ? <Text wrap="wrap">{diagnostic}</Text> : diagnostic}</Box>; |
| 240 | } |
nothing calls this directly
no outgoing calls
no test coverage detected