diff --git a/js/component/common.js b/js/component/common.js index 82ea34bc4..0c01e7293 100644 --- a/js/component/common.js +++ b/js/component/common.js @@ -1,6 +1,6 @@ import React from 'react'; import lbry from '../lbry.js'; -import $clamp from 'clamp'; +import $clamp from 'clamp-js'; //component/icon.js export let Icon = React.createClass({ diff --git a/package.json b/package.json index e8868f571..b36fac6f7 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "babel-cli": "^6.11.4", "babel-preset-es2015": "^6.13.2", "babel-preset-react": "^6.11.1", - "clamp": "^1.0.1", + "clamp-js": "^0.7.0", "mediaelement": "^2.23.4", "node-sass": "^3.8.0", "react": "^15.4.0",