Fix final linter errors

This commit is contained in:
LordMathis 2019-03-24 21:48:31 +01:00
parent 7c834b2230
commit 20ed9b582c
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export default class MainContainer extends Component {
super(props)
let data
// eslint-disable-next-line no-undef
if (__isBrowser__) {
data = window.__INITIAL_DATA__
delete window.__INITIAL_DATA__

View File

@ -11,6 +11,7 @@ export default class PostContainer extends Component {
super(props)
let post
// eslint-disable-next-line no-undef
if (__isBrowser__) {
post = window.__INITIAL_DATA__
delete window.__INITIAL_DATA__