"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.usePrevious = usePrevious;
var _react = require("react");
function usePrevious(value) {
  const ref = (0, _react.useRef)(undefined);
  (0, _react.useEffect)(() => {
    ref.current = value;
  });
  return ref.current;
}
//# sourceMappingURL=StateHelpers.js.map