Remove coral-framework reducers

Some of them were only related to the embed stream.
Auth code is too convoluted with the embed stream and can't be reused atm.
This commit is contained in:
Chi Vinh Le
2017-08-21 21:31:54 +07:00
parent 84e4091ea6
commit 9566f83eac
22 changed files with 58 additions and 32 deletions
+3 -1
View File
@@ -7,12 +7,14 @@ import {getDisplayName} from 'coral-framework/helpers/hoc';
import {compose, gql} from 'react-apollo';
import withFragments from 'coral-framework/hocs/withFragments';
import withMutation from 'coral-framework/hocs/withMutation';
import {showSignInDialog} from 'coral-framework/actions/auth';
import {addNotification} from 'coral-framework/actions/notification';
import {capitalize} from 'coral-framework/helpers/strings';
import {getMyActionSummary, getTotalActionCount} from 'coral-framework/utils';
import * as PropTypes from 'prop-types';
// TODO: Auth logic needs refactoring.
import {showSignInDialog} from 'coral-embed-stream/src/actions/auth';
export default (reaction) => (WrappedComponent) => {
if (typeof reaction !== 'string') {
console.error('Reaction must be a valid string');