comments removed

This commit is contained in:
tmshv committed 2020-02-27 16:23:49 +03:00
1 parent 97fec50d48
commit a01888f155
3 files changed
-16

No files matched your search

-4
View File
@@ -9,10 +9,6 @@ module.exports = {
"promise", "promise",
"react", "react",
], ],
"globals": {
"angular": true,
"DISQUS": true
},
"rules": { "rules": {
"semi": ["error", "never"], "semi": ["error", "never"],
"space-before-function-paren": "off", "space-before-function-paren": "off",
-3
View File
@@ -1,5 +1,4 @@
import dynamic from 'next/dynamic' import dynamic from 'next/dynamic'
import Comments from '../Comments'
import { Wrapper } from '../Wrapper' import { Wrapper } from '../Wrapper'
import { ConfigContext } from 'src/context/ConfigContext' import { ConfigContext } from 'src/context/ConfigContext'
import config from 'src/config' import config from 'src/config'
@@ -61,8 +60,6 @@ export const App: React.FC<IAppProps> = props => {
{props.children} {props.children}
</Content> </Content>
</Block> </Block>
{/* <Comments /> */}
</Wrapper> </Wrapper>
</ConfigContext.Provider> </ConfigContext.Provider>
) )
-9
View File
@@ -1,9 +0,0 @@
const React = require('react')
const Comments = ({contentClass = 'content_thin'}) => (
<div className={`content ${contentClass}`}>
<div id="disqus_thread"/>
</div>
)
module.exports = Comments