export function useRoomProviderDispatch()

in src/room/containers/RoomProvider/index.tsx [131:137]


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