"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useIsFirstRender = void 0;
var _react = require("react");
var useIsFirstRender = exports.useIsFirstRender = function useIsFirstRender() {
  var isFirst = (0, _react.useRef)(true);
  if (isFirst.current) {
    isFirst.current = false;
    return true;
  }
  return isFirst.current;
};
//# sourceMappingURL=useIsFirstRender.js.map