import { useRef } from "react";
export default function useMemoOnce(callback) {
    const ref = useRef();
    if (!ref.current) {
        ref.current = callback();
    }
    return ref.current;
}
//# sourceMappingURL=useMemoOnce.js.map