mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
22 lines
658 B
JavaScript
22 lines
658 B
JavaScript
import { gql } from 'react-apollo';
|
|
import withQuery from 'coral-framework/hocs/withQuery';
|
|
import Header from '../components/Header';
|
|
import CommunityIndicator from '../routes/Community/containers/Indicator';
|
|
// TODO: eventually we will readd modqueue counts
|
|
// import ModerationIndicator from '../routes/Moderation/containers/Indicator';
|
|
import { getDefinitionName } from 'coral-framework/utils';
|
|
|
|
export default withQuery(
|
|
gql`
|
|
query TalkAdmin_Header {
|
|
...${getDefinitionName(CommunityIndicator.fragments.root)}
|
|
}
|
|
${CommunityIndicator.fragments.root}
|
|
`,
|
|
{
|
|
options: {
|
|
// variables: { nullID: null },
|
|
},
|
|
}
|
|
)(Header);
|