diff --git a/src/sentry/static/sentry/app/components/events/interfaces/keyValueList.jsx b/src/sentry/static/sentry/app/components/events/interfaces/keyValueList.jsx index 5aa18df2b1ffac..a39da16a575f43 100644 --- a/src/sentry/static/sentry/app/components/events/interfaces/keyValueList.jsx +++ b/src/sentry/static/sentry/app/components/events/interfaces/keyValueList.jsx @@ -30,7 +30,7 @@ const KeyValueList = React.createClass({ data = Object.keys(data).map(key => [key, data[key]]); } - data = this.props.isSorted ? _.sortBy(data, (key, value) => key) : data; + data = this.props.isSorted ? _.sortBy(data, [(key, value) => key]) : data; const props = this.props.onClick ? {onClick: this.props.onClick} : {}; return ( diff --git a/src/sentry/static/sentry/app/options.jsx b/src/sentry/static/sentry/app/options.jsx index 72b25297ee2012..4b4a87bfa20417 100644 --- a/src/sentry/static/sentry/app/options.jsx +++ b/src/sentry/static/sentry/app/options.jsx @@ -124,7 +124,7 @@ const definitions = [ } ]; -const definitionsMap = _.keyBy(definitions, 'key'); +const definitionsMap = _.keyBy(definitions, def => def.key); const disabledReasons = { diskPriority: 'This setting is defined in config.yml and may not be changed via the web UI.', diff --git a/webpack.config.js b/webpack.config.js index 0d974754242afa..214d44c026ba33 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -137,7 +137,6 @@ var config = { }, plugins: [ new LodashModuleReplacementPlugin({ - shorthands: true, collections: true }), new webpack.optimize.CommonsChunkPlugin({