mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 10:55:53 +08:00
moving mutations to /hocs folder
This commit is contained in:
@@ -3,7 +3,7 @@ import { bindActionCreators } from 'redux';
|
||||
import { connect, withFragments, excludeIf } from 'plugin-api/beta/client/hocs';
|
||||
import AccountDeletionRequestedSign from '../components/AccountDeletionRequestedSign';
|
||||
import { notify } from 'coral-framework/actions/notification';
|
||||
import { withCancelAccountDeletion } from '../mutations';
|
||||
import { withCancelAccountDeletion } from '../hocs';
|
||||
|
||||
const mapDispatchToProps = dispatch => bindActionCreators({ notify }, dispatch);
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ import { bindActionCreators } from 'redux';
|
||||
import { connect, withFragments } from 'plugin-api/beta/client/hocs';
|
||||
import DeleteMyAccount from '../components/DeleteMyAccount';
|
||||
import { notify } from 'coral-framework/actions/notification';
|
||||
import {
|
||||
withRequestAccountDeletion,
|
||||
withCancelAccountDeletion,
|
||||
} from '../mutations';
|
||||
import { withRequestAccountDeletion, withCancelAccountDeletion } from '../hocs';
|
||||
|
||||
const mapDispatchToProps = dispatch => bindActionCreators({ notify }, dispatch);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { bindActionCreators } from 'redux';
|
||||
import { compose, gql } from 'react-apollo';
|
||||
import DownloadCommentHistory from '../components/DownloadCommentHistory';
|
||||
import { connect, withFragments } from 'plugin-api/beta/client/hocs';
|
||||
import { withRequestDownloadLink } from '../mutations';
|
||||
import { withRequestDownloadLink } from '../hocs';
|
||||
import { notify } from 'coral-framework/actions/notification';
|
||||
|
||||
class DownloadCommentHistoryContainer extends Component {
|
||||
|
||||
Reference in New Issue
Block a user