"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkNOHIYTCAjs = require('./chunk-NOHIYTCA.js');

// tmp-babel/messages/common/context/useChatRoom/index.js
var _react = require('react');
var _zustand = require('zustand');
var useChatRoom = function useChatRoom2() {
  var store = _react.useContext.call(void 0, _chunkNOHIYTCAjs.ChatRoomContext);
  if (!store) {
    throw new Error("Missing ChatRoomProvider");
  }
  return _zustand.useStore.call(void 0, store, function(state) {
    return state;
  });
};
var useChatRoom_default = useChatRoom;



exports.useChatRoom_default = useChatRoom_default;
//# sourceMappingURL=chunk-DTIR4DVO.js.map