Importing lodash util functions explicitly.

This commit is contained in:
fbarl
2016-12-05 12:40:33 +01:00
committed by Filip Barl
parent 856a5a0388
commit 524e2e2e9a
21 changed files with 122 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import _ from 'lodash';
import { sample } from 'lodash';
import { findTopologyById } from '../utils/topology-utils';
import NodesError from '../charts/nodes-error';
@@ -41,7 +41,7 @@ export class Loading extends React.Component {
super(props, context);
this.state = {
template: _.sample(LOADING_TEMPLATES)
template: sample(LOADING_TEMPLATES)
};
}