@trellixio/roaster-coffee
Version:
Beans' product component library
22 lines (16 loc) • 493 B
JavaScript
;
var React = require('react');
function _interopNamespaceDefault(e) {
var n = Object.create(null);
if (e) {
for (var k in e) {
n[k] = e[k];
}
}
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
const useIsomorphicEffect = typeof window !== "undefined" ? React__namespace.useLayoutEffect : React__namespace.useEffect;
exports.useIsomorphicEffect = useIsomorphicEffect;
//# sourceMappingURL=index.js.map