Move importing of stylesheet to index

This commit is contained in:
Markus Olsson 2016-06-20 22:15:13 +02:00
parent 833d9dd07a
commit d047908061
2 changed files with 6 additions and 6 deletions

View file

@ -7,12 +7,6 @@ import NotLoggedIn from './not-logged-in'
import API from './lib/api'
import {Repo} from './lib/api'
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/desktop.scss')
}
interface AppState {
selectedRow: number,
repos: Repo[],

View file

@ -12,6 +12,12 @@ import tokenStore from './token-store'
const Octokat = require('octokat')
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/desktop.scss')
}
ipcRenderer.on('log', (event, msg) => {
console.log(msg)
})