// @flow
import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import App from './App'

render(
  <App />,
  document.getElementById('root')
)

// @flow
import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import App from './App'

const container = document.getElementById('root')

if (container !== null) {
  render(<App/>, container)
}

Fix linter error