()
| 31 | } |
| 32 | |
| 33 | function ListScripts() { |
| 34 | let { value: scripts } = useFetchedDataBehindGuard(scriptsContext); |
| 35 | |
| 36 | return <Paper> |
| 37 | <List> |
| 38 | {scripts.map((v) => <ScriptItem script={v} key={v.id} />)} |
| 39 | {scripts.length === 0 ? <p>...</p> : null} |
| 40 | </List> |
| 41 | </Paper> |
| 42 | |
| 43 | } |
| 44 | |
| 45 | |
| 46 | function ScriptItem({ script }: { |
nothing calls this directly
no test coverage detected