MCPcopy Create free account
hub / github.com/Botloader/botloader / ViewPlugins

Function ViewPlugins

frontend/src/pages/plugins/Plugins.tsx:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28let context = createFetchDataContext<Plugin[]>();
29
30export 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
42function InnerPage() {
43 const { value: plugins } = useFetchedDataBehindGuard(context);

Callers

nothing calls this directly

Calls 2

useSessionFunction · 0.90

Tested by

no test coverage detected