Use getDefinition name from plugin-api

This commit is contained in:
Chi Vinh Le
2017-07-20 02:30:06 +07:00
parent fd0143da5d
commit 3fa475009a
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -3,4 +3,5 @@ export {
insertCommentsSorted,
getSlotFragmentSpreads,
forEachError,
getDefinitionName,
} from 'coral-framework/utils';
@@ -4,10 +4,9 @@ import {compose, gql} from 'react-apollo';
import TabPane from '../components/TabPane';
import {withFragments, connect} from 'plugin-api/beta/client/hocs';
import Comment from '../containers/Comment';
import {getDefinitionName} from 'coral-framework/utils';
import {addNotification} from 'plugin-api/beta/client/actions/notification';
import {viewComment} from 'coral-embed-stream/src/actions/stream';
import {insertCommentsSorted} from 'plugin-api/beta/client/utils';
import {insertCommentsSorted, getDefinitionName} from 'plugin-api/beta/client/utils';
import update from 'immutability-helper';
class TabPaneContainer extends React.Component {