diff --git a/plugins/coral-plugin-respect/client/components/Icon.js b/plugins/coral-plugin-respect/client/components/Icon.js index 1e4dd30b9..c24841e97 100644 --- a/plugins/coral-plugin-respect/client/components/Icon.js +++ b/plugins/coral-plugin-respect/client/components/Icon.js @@ -1,5 +1,6 @@ import React from 'react'; +import cn from 'classnames'; -export default () => ( - +export default ({className}) => ( + ); diff --git a/plugins/coral-plugin-respect/client/index.js b/plugins/coral-plugin-respect/client/index.js index de23f994b..ca93c6e6d 100644 --- a/plugins/coral-plugin-respect/client/index.js +++ b/plugins/coral-plugin-respect/client/index.js @@ -3,7 +3,9 @@ import styles from './style.css'; import Icon from './components/Icon'; import {I18n} from 'coral-framework'; +import cn from 'classnames'; import translations from './translations.json'; + const lang = new I18n(translations); import {getActionSummary} from 'coral-framework/utils'; @@ -73,12 +75,12 @@ class RespectButton extends React.Component { if (localDelete) {count -= 1;} return ( -