Use getDefinition name from plugin-api

This commit is contained in:
Chi Vinh Le committed 2017-07-20 02:32:17 +07:00
1 parent fd0143da5d
commit 3fa475009a
2 files changed
+2 -2

No files matched your search

+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 {