diff --git a/apps/comments-ui/src/components/TotalComments.js b/apps/comments-ui/src/components/TotalComments.js deleted file mode 100644 index a4746fe6a2..0000000000 --- a/apps/comments-ui/src/components/TotalComments.js +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import AppContext from '../AppContext'; - -class TotalComments extends React.Component { - static contextType = AppContext; - - render() { - if (!this.context.pagination) { - return null; - } - - return ( -
-

{this.context.pagination.total} {this.context.pagination.total === 1 ? 'comment' : 'comments'}

-
- ); - } -} - -export default TotalComments;