()
| 2 | import { InstallationContext } from '../components/context/InstallationContext/InstallationContext'; |
| 3 | |
| 4 | export const useInstallation = () => { |
| 5 | const ctx = useContext(InstallationContext); |
| 6 | if (!ctx) throw new Error('useInstallation must be used within InstallationProvider'); |
| 7 | return ctx; |
| 8 | }; |
no outgoing calls
no test coverage detected