Use correct name

This commit is contained in:
Chi Vinh Le
2017-07-21 23:58:41 +07:00
parent 92d1fc5759
commit 6ea7e9d564
+2 -2
View File
@@ -2,7 +2,7 @@ import React from 'react';
const PropTypes = require('prop-types');
export default (WrappedComponent) => {
class WithCopyToClipboard extends React.Component {
class WithEmit extends React.Component {
static contextTypes = {
eventEmitter: PropTypes.object,
};
@@ -19,5 +19,5 @@ export default (WrappedComponent) => {
}
}
return WithCopyToClipboard;
return WithEmit;
};