export function useControllerDispatch()

in src/controller/containers/ControllerProvider/index.tsx [53:59]


export function useControllerDispatch(): any {
  const context = useContext(ControllerDispatchContext);
  if (context === undefined) {
    throw new Error('useControllerDispatch must be used within a Provider');
  }
  return context;
}