mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
publish: add contactreducer
This commit is contained in:
parent
5481deae30
commit
da0d149828
@ -1,5 +1,6 @@
|
||||
import BaseStore from './base';
|
||||
|
||||
import ContactReducer from '../reducers/contact-update';
|
||||
import GroupReducer from '../reducers/group-update';
|
||||
import PublishReducer from '../reducers/publish-update';
|
||||
import InviteReducer from '../reducers/invite-update';
|
||||
@ -11,6 +12,7 @@ export default class PublishStore extends BaseStore {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.contactReducer = new ContactReducer();
|
||||
this.groupReducer = new GroupReducer();
|
||||
this.publishReducer = new PublishReducer();
|
||||
this.inviteReducer = new InviteReducer();
|
||||
@ -34,6 +36,7 @@ export default class PublishStore extends BaseStore {
|
||||
}
|
||||
|
||||
reduce(data, state) {
|
||||
this.contactReducer.reduce(data, this.state);
|
||||
this.groupReducer.reduce(data, this.state);
|
||||
this.publishReducer.reduce(data, this.state);
|
||||
this.permissionReducer.reduce(data, this.state);
|
||||
|
Loading…
Reference in New Issue
Block a user