()
| 79 | } |
| 80 | |
| 81 | export 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 | }; |
no outgoing calls
no test coverage detected