From 6ea7e9d5645e1b1edb9372a4abb0eb642314db5b Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Fri, 21 Jul 2017 23:58:41 +0700 Subject: [PATCH] Use correct name --- client/coral-framework/hocs/withEmit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-framework/hocs/withEmit.js b/client/coral-framework/hocs/withEmit.js index 9e47d3a07..46c26c8f6 100644 --- a/client/coral-framework/hocs/withEmit.js +++ b/client/coral-framework/hocs/withEmit.js @@ -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; };