From a01888f15576aee281492f0da6f6e45f7c65ccd3 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 27 Feb 2020 16:23:49 +0300 Subject: [PATCH] comments removed --- .eslintrc.js | 4 ---- src/components/App/index.tsx | 3 --- src/components/Comments.js | 9 --------- 3 files changed, 16 deletions(-) delete mode 100644 src/components/Comments.js diff --git a/.eslintrc.js b/.eslintrc.js index e2fd2a38..998487fe 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,10 +9,6 @@ module.exports = { "promise", "react", ], - "globals": { - "angular": true, - "DISQUS": true - }, "rules": { "semi": ["error", "never"], "space-before-function-paren": "off", diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 1f4159ea..fce638bd 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -1,5 +1,4 @@ import dynamic from 'next/dynamic' -import Comments from '../Comments' import { Wrapper } from '../Wrapper' import { ConfigContext } from 'src/context/ConfigContext' import config from 'src/config' @@ -61,8 +60,6 @@ export const App: React.FC = props => { {props.children} - - {/* */} ) diff --git a/src/components/Comments.js b/src/components/Comments.js deleted file mode 100644 index 252338bf..00000000 --- a/src/components/Comments.js +++ /dev/null @@ -1,9 +0,0 @@ -const React = require('react') - -const Comments = ({contentClass = 'content_thin'}) => ( -
-
-
-) - -module.exports = Comments