MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / useSpeedMode

Function useSpeedMode

frontend/src/contexts/SpeedModeContext.tsx:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81export const useSpeedMode = () => {
82 const context = useContext(SpeedModeContext);
83 if (context === undefined) {
84 throw new Error('useSpeedMode must be used within a SpeedModeProvider');
85 }
86 return context;
87};

Callers 2

ProfilePageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected