MCPcopy
hub / github.com/jamiepine/voicebox / usePlatform

Function usePlatform

app/src/platform/PlatformContext.tsx:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15export function usePlatform(): Platform {
16 const platform = useContext(PlatformContext);
17 if (!platform) {
18 throw new Error('usePlatform must be used within PlatformProvider');
19 }
20 return platform;
21}

Callers 15

MainAppFunction · 0.90
SidebarFunction · 0.90
SampleUploadFunction · 0.90
ProfileFormFunction · 0.90
AudioPlayerFunction · 0.90
GpuAccelerationFunction · 0.90
ModelManagementFunction · 0.90
UpdateStatusFunction · 0.90
ConnectionFormFunction · 0.90
AudioTabFunction · 0.90
GpuPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected