diff --git a/plugins/talk-plugin-featured-comments/client/components/Button.js b/plugins/talk-plugin-featured-comments/client/components/Button.js index c581ce027..5bb174c30 100644 --- a/plugins/talk-plugin-featured-comments/client/components/Button.js +++ b/plugins/talk-plugin-featured-comments/client/components/Button.js @@ -3,7 +3,6 @@ import cn from 'classnames'; import styles from './Button.css'; import {pluginName} from '../../package.json'; import {can} from 'plugin-api/beta/client/services'; -import {withTags} from 'plugin-api/beta/client/hocs'; import {Icon} from 'plugin-api/beta/client/components/ui'; const Button = (props) => { @@ -23,4 +22,4 @@ const Button = (props) => { ) : null ; }; -export default withTags('featured')(Button); +export default Button; diff --git a/plugins/talk-plugin-featured-comments/client/containers/Button.js b/plugins/talk-plugin-featured-comments/client/containers/Button.js new file mode 100644 index 000000000..d927b0125 --- /dev/null +++ b/plugins/talk-plugin-featured-comments/client/containers/Button.js @@ -0,0 +1,4 @@ +import Button from '../components/Button'; +import {withTags} from 'plugin-api/beta/client/hocs'; + +export default withTags('featured')(Button);