diff --git a/apps/comments-ui/src/components/Form.js b/apps/comments-ui/src/components/AddForm.js similarity index 98% rename from apps/comments-ui/src/components/Form.js rename to apps/comments-ui/src/components/AddForm.js index c62c562a1e..8955c139ab 100644 --- a/apps/comments-ui/src/components/Form.js +++ b/apps/comments-ui/src/components/AddForm.js @@ -62,7 +62,7 @@ import Avatar from './Avatar'; // ); // }; -class Form extends React.Component { +class AddForm extends React.Component { static contextType = AppContext; constructor(props) { @@ -134,4 +134,4 @@ class Form extends React.Component { } } -export default Form; +export default AddForm; diff --git a/apps/comments-ui/src/components/CommentsBox.js b/apps/comments-ui/src/components/CommentsBox.js index 2104975831..e2be3e297e 100644 --- a/apps/comments-ui/src/components/CommentsBox.js +++ b/apps/comments-ui/src/components/CommentsBox.js @@ -1,7 +1,7 @@ import React from 'react'; import AppContext from '../AppContext'; import NotSignedInBox from './NotSignedInBox'; -import Form from './Form'; +import AddForm from './AddForm'; import Comment from './Comment'; import Pagination from './Pagination'; @@ -52,7 +52,7 @@ class CommentsBox extends React.Component { {comments}
- { this.context.member ?
: } + { this.context.member ? : }
);