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)

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)

Set the platform class for styles
Set the platform class for styles
