"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = require("react");
function useMemoOnce(callback) {
    const ref = (0, react_1.useRef)();
    if (!ref.current) {
        ref.current = callback();
    }
    return ref.current;
}
exports.default = useMemoOnce;
//# sourceMappingURL=useMemoOnce.js.map