diff --git a/ui/package.json b/ui/package.json index d0bbdc2a..83a41431 100644 --- a/ui/package.json +++ b/ui/package.json @@ -18,7 +18,6 @@ "lodash.first": "^3.0.0", "lodash.flatten": "^4.4.0", "lodash.get": "^4.4.2", - "lodash.isarray": "^4.0.0", "lodash.isfunction": "^3.0.8", "lodash.isstring": "^4.0.1", "lodash.isundefined": "^3.0.1", diff --git a/ui/src/components/row/size-apply.js b/ui/src/components/row/size-apply.js index 07baedfa..9e0166fd 100644 --- a/ui/src/components/row/size-apply.js +++ b/ui/src/components/row/size-apply.js @@ -1,4 +1,3 @@ -const isArray = require('lodash.isarray'); const isString = require('lodash.isstring'); /** @@ -19,7 +18,7 @@ module.exports = (size, prop, value) => { return value; } - if (isArray(prop) && (prop.indexOf(size) >= 0)) { + if (Array.isArray(prop) && (prop.indexOf(size) >= 0)) { return value; }