(state: string)
| 7 | const ACTIVE_STATES = ['active', 'passive']; |
| 8 | |
| 9 | const isActiveState = (state: string): boolean => |
| 10 | ACTIVE_STATES.indexOf(state) > -1; |
| 11 | |
| 12 | export default function useLogLifecycleEvents( |
| 13 | setEnabled: (enabled: boolean) => void, |
no outgoing calls
no test coverage detected