import { unstable_batchedUpdates as n } from "react-dom";
var t = [];
function u() {
  n(function() {
    for (var e = 0; e < t.length; e++)
      t[e]();
    t.length = 0;
  });
}
function a(e) {
  t.length === 0 && setTimeout(u), t.push(e);
}
export {
  a as enqueueStateChange
};
//# sourceMappingURL=react.js.map
