// @flow import React from 'react'; import Empty from 'component/common/empty'; import { lazyImport } from 'util/lazyImport'; const CommentsList = lazyImport(() => import('component/commentsList' /* webpackChunkName: "comments" */)); type Props = { uri: string, linkedCommentId?: string, commentsDisabled: boolean, commentSettingDisabled?: boolean, }; function ChannelDiscussion(props: Props) { const { uri, linkedCommentId, commentsDisabled, commentSettingDisabled } = props; if (commentsDisabled) { return ; } if (commentSettingDisabled) { return ; } return (
); } export default ChannelDiscussion;