diff --git a/src/index.js b/src/index.js index f1e6bf76..af9a7d22 100644 --- a/src/index.js +++ b/src/index.js @@ -53,6 +53,6 @@ render(( - { true || __DEV__ ? : null } + { __DEV__ ? : null } ), document.getElementById('root')); diff --git a/src/scenes/Atlas/AtlasStore.js b/src/scenes/Atlas/AtlasStore.js index 93662b27..b8c05a5b 100644 --- a/src/scenes/Atlas/AtlasStore.js +++ b/src/scenes/Atlas/AtlasStore.js @@ -4,7 +4,7 @@ import { client } from 'utils/ApiClient'; const store = new class AtlasStore { @observable atlas; - @observable isFetching; + @observable isFetching = true; /* Actions */ diff --git a/webpack.config.prod.js b/webpack.config.prod.js index 0d7a7842..3753223d 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -24,13 +24,13 @@ productionWebpackConfig.plugins.push(new HtmlWebpackPlugin({ })); productionWebpackConfig.plugins.push(new ExtractTextPlugin('styles.[hash].css')); productionWebpackConfig.plugins.push(new webpack.optimize.OccurenceOrderPlugin()); -// productionWebpackConfig.plugins.push( -// new webpack.optimize.UglifyJsPlugin({ -// compress: { -// warnings: false -// } -// }) -// ); +productionWebpackConfig.plugins.push( + new webpack.optimize.UglifyJsPlugin({ + compress: { + warnings: false + } + }) +); productionWebpackConfig.plugins.push( new webpack.DefinePlugin({ 'process.env': {