const startTime = Date.now()

import * as React from 'react'
import * as ReactDOM from 'react-dom'

import { CrashApp } from './crash-app'

if (!process.env.TEST_ENV) {
  /* This is the magic trigger for webpack to go compile
  * our sass into css and inject it into the DOM. */
  require('./styles/crash.scss')
}

document.body.classList.add(`platform-${process.platform}`)

const container = document.createElement('div')
container.id = 'desktop-crash-container'
document.body.appendChild(container)

ReactDOM.render(<CrashApp startTime={startTime} />, container)

const startTime = Date.now()

import * as React from 'react'
import * as ReactDOM from 'react-dom'

import { CrashApp } from './crash-app'

if (!process.env.TEST_ENV) {
  /* This is the magic trigger for webpack to go compile
  * our sass into css and inject it into the DOM. */
  require('./styles/crash.scss')
}

const container = document.createElement('div')
container.id = 'desktop-crash-container'
document.body.appendChild(container)

ReactDOM.render(<CrashApp startTime={startTime} />, container)

--- 
+++ 
@@ -11,6 +11,8 @@
   require('./styles/crash.scss')
 }
 
+document.body.classList.add(`platform-${process.platform}`)
+
 const container = document.createElement('div')
 container.id = 'desktop-crash-container'
 document.body.appendChild(container)
Set the platform class for styles
