2019-10-14 18:21:40 -04:00
|
|
|
// @flow
|
|
|
|
import React from 'react';
|
|
|
|
import CommentsList from 'component/commentsList';
|
|
|
|
import CommentCreate from 'component/commentCreate';
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
uri: string,
|
|
|
|
};
|
|
|
|
|
|
|
|
function ChannelDiscussion(props: Props) {
|
|
|
|
const uri = props.uri;
|
|
|
|
return (
|
2020-01-03 14:11:47 -05:00
|
|
|
<div>
|
2019-11-14 15:20:49 -05:00
|
|
|
<section className="section">
|
|
|
|
<CommentCreate uri={uri} />
|
|
|
|
</section>
|
|
|
|
<section className="section">
|
|
|
|
<CommentsList uri={uri} />
|
|
|
|
</section>
|
|
|
|
</div>
|
2019-10-14 18:21:40 -04:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ChannelDiscussion;
|