(matches?: UIMatch[])
| 24 | } |
| 25 | |
| 26 | export function useJob(matches?: UIMatch[]) { |
| 27 | const job = useOptionalJob(matches); |
| 28 | invariant(job, "Job must be defined"); |
| 29 | return job; |
| 30 | } |
| 31 | |
| 32 | export const useJobChanged = (action: (org: MatchedJob | undefined) => void) => { |
| 33 | useChanged(useOptionalJob, action); |
no test coverage detected
searching dependent graphs…