import r from"@babel/runtime/helpers/slicedToArray";import{useState as e,useEffect as t,useCallback as o}from"react";import"../utils/index.js";import{sharedDCStore as i}from"../utils/sharedDCStore.js";function n(n){var s=e(i.getSharedDCStore(n)),u=r(s,2),a=u[0],m=u[1];return t((function(){return i.subscribeForSharedDCStore(n,m)}),[]),[a,o((function(r){return i.setSharedDCStore(n,r)}),[n])]}export{n as default};
//# sourceMappingURL=useSharedDCStore.js.map
