MCPcopy Index your code
hub / github.com/nodejs/nodejs.org / MatterProvider

Function MatterProvider

apps/site/providers/matterProvider.tsx:19–30  ·  view source on GitHub ↗
({
  children,
  ...data
})

Source from the content-addressed store, hash-verified

17>;
18
19export const MatterProvider: FC<MatterProviderProps> = ({
20 children,
21 ...data
22}) => {
23 const os = useDetectOS();
24
25 return (
26 <MatterContext value={assignClientContext({ ...os, ...data })}>
27 {children}
28 </MatterContext>
29 );
30};

Callers

nothing calls this directly

Calls 2

assignClientContextFunction · 0.90
useDetectOSFunction · 0.85

Tested by

no test coverage detected