export function useControllerState()

in src/controller/containers/ControllerProvider/index.tsx [45:51]


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