2019-10-15 00:21:40 +02: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 20:11:47 +01:00
|
|
|
<div>
|
2019-11-14 21:20:49 +01:00
|
|
|
<section className="section">
|
|
|
|
<CommentCreate uri={uri} />
|
|
|
|
</section>
|
|
|
|
<section className="section">
|
|
|
|
<CommentsList uri={uri} />
|
|
|
|
</section>
|
|
|
|
</div>
|
2019-10-15 00:21:40 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ChannelDiscussion;
|