import {
  CommentReplyContext
} from "./chunk-E5CF7E57.mjs";

// tmp-babel/comments/common/context/useCommentReply/index.js
import { useContext } from "react";
import { useStore } from "zustand";
var useCommentReply = function useCommentReply2() {
  var store = useContext(CommentReplyContext);
  if (!store) {
    throw new Error("Missing CommentReplyProvider");
  }
  return useStore(store, function(state) {
    return state;
  });
};
var useCommentReply_default = useCommentReply;

export {
  useCommentReply_default
};
//# sourceMappingURL=chunk-VHHO3WFH.mjs.map