()
| 28 | let context = createFetchDataContext<Plugin[]>(); |
| 29 | |
| 30 | export function ViewPlugins() { |
| 31 | const session = useSession(); |
| 32 | |
| 33 | return <Container maxWidth={false}> |
| 34 | <FetchDataGuarded |
| 35 | loader={async () => await session.apiClient.getPublishedPublicPlugins()} |
| 36 | context={context}> |
| 37 | <InnerPage /> |
| 38 | </FetchDataGuarded> |
| 39 | </Container> |
| 40 | } |
| 41 | |
| 42 | function InnerPage() { |
| 43 | const { value: plugins } = useFetchedDataBehindGuard(context); |
nothing calls this directly
no test coverage detected