Fix final linter errors
This commit is contained in:
parent
7c834b2230
commit
20ed9b582c
|
@ -11,6 +11,7 @@ export default class MainContainer extends Component {
|
||||||
super(props)
|
super(props)
|
||||||
|
|
||||||
let data
|
let data
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
if (__isBrowser__) {
|
if (__isBrowser__) {
|
||||||
data = window.__INITIAL_DATA__
|
data = window.__INITIAL_DATA__
|
||||||
delete window.__INITIAL_DATA__
|
delete window.__INITIAL_DATA__
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default class PostContainer extends Component {
|
||||||
super(props)
|
super(props)
|
||||||
|
|
||||||
let post
|
let post
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
if (__isBrowser__) {
|
if (__isBrowser__) {
|
||||||
post = window.__INITIAL_DATA__
|
post = window.__INITIAL_DATA__
|
||||||
delete window.__INITIAL_DATA__
|
delete window.__INITIAL_DATA__
|
||||||
|
|
Loading…
Reference in New Issue