"use strict";

exports.__esModule = true;
exports.default = void 0;

var _react = require("react");

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
var useMount = function useMount(fn) {
  (0, _react.useEffect)(function () {
    fn();
  }, []);
};

var _default = useMount;
exports.default = _default;