import r from"@babel/runtime/helpers/slicedToArray";import{jsx as e}from"react/jsx-runtime";import{useState as t}from"react";import{CommentsSwitchContext as o}from"./CommentsSwitchContext.js";var i=function(i){var m=i.children,n=i.initial,a=t(void 0!==n&&n),l=r(a,2),c=l[0],s=l[1];return e(o.Provider,{value:{commentsEnabled:c,setCommentsEnabled:s},children:m})};export{i as CommentsSwitchProvider};
//# sourceMappingURL=CommentsSwitchProvider.js.map
