MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / TeamProvider

Function TeamProvider

frontend/packages/core/src/contexts/TeamContext.tsx:19–23  ·  view source on GitHub ↗
({ children })

Source from the content-addressed store, hash-verified

17}
18
19export const TeamProvider: FC<{ children: ReactNode }> = ({ children }) => {
20 const [teamInfo, setTeamInfo] = useState<TeamConfigType>()
21
22 return <TeamContext.Provider value={{ teamInfo, setTeamInfo }}>{children}</TeamContext.Provider>
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected