diff --git a/packages/vx-responsive/package.json b/packages/vx-responsive/package.json index a2bba6928..74b462ce4 100644 --- a/packages/vx-responsive/package.json +++ b/packages/vx-responsive/package.json @@ -38,7 +38,7 @@ "regenerator-runtime": "^0.10.5" }, "dependencies": { - "lodash.debounce": "^4.0.8", + "lodash": "^4.0.8", "react": "^15.4.2" }, "publishConfig": { diff --git a/packages/vx-responsive/src/enhancers/withParentSize.js b/packages/vx-responsive/src/enhancers/withParentSize.js index 4da91438a..8228dc2d6 100644 --- a/packages/vx-responsive/src/enhancers/withParentSize.js +++ b/packages/vx-responsive/src/enhancers/withParentSize.js @@ -1,5 +1,5 @@ import React from 'react'; -import debounce from 'lodash.debounce'; +import debounce from 'lodash/debounce'; export default function withParentSize(BaseComponent) { class WrappedComponent extends React.Component { diff --git a/packages/vx-responsive/src/enhancers/withScreenSize.js b/packages/vx-responsive/src/enhancers/withScreenSize.js index 53fb14eee..7a995ff5c 100644 --- a/packages/vx-responsive/src/enhancers/withScreenSize.js +++ b/packages/vx-responsive/src/enhancers/withScreenSize.js @@ -1,5 +1,5 @@ import React from 'react'; -import debounce from 'lodash.debounce'; +import debounce from 'lodash/debounce'; export default function withScreenSize(BaseComponent) { class WrappedComponent extends React.Component {