mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
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:
1 parent
84e4091ea6
commit
9566f83eac
22 files changed
+58
-32
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user