@mui/x-data-grid
Version:
The Community plan edition of the MUI X Data Grid components.
12 lines (11 loc) • 402 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useIsSSR = void 0;
var _shim = require("use-sync-external-store/shim");
const emptySubscribe = () => () => {};
const clientSnapshot = () => false;
const serverSnapshot = () => true;
const useIsSSR = () => (0, _shim.useSyncExternalStore)(emptySubscribe, clientSnapshot, serverSnapshot);
exports.useIsSSR = useIsSSR;
;