mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
13 lines
359 B
JavaScript
13 lines
359 B
JavaScript
import { gql } from 'react-apollo';
|
|
import GlobalSwitchoff from '../components/GlobalSwitchoff';
|
|
import { withFragments } from 'plugin-api/beta/client/hocs';
|
|
|
|
export default withFragments({
|
|
settings: gql`
|
|
fragment TalkPlugin_GlobalSwitchoff_settings on Settings {
|
|
globalSwitchoffEnable
|
|
globalSwitchoffMessage
|
|
}
|
|
`,
|
|
})(GlobalSwitchoff);
|