mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Use correct name
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user