mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +01:00
19 lines
307 B
JavaScript
19 lines
307 B
JavaScript
|
'use strict';
|
||
|
|
||
|
import alt from '../alt';
|
||
|
import CoaActions from '../actions/coa_actions';
|
||
|
|
||
|
|
||
|
class CoaStore {
|
||
|
constructor() {
|
||
|
this.coa = {};
|
||
|
this.bindActions(CoaActions);
|
||
|
}
|
||
|
|
||
|
onUpdateCoa(coa) {
|
||
|
this.coa = coa;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default alt.createStore(CoaStore, 'CoaStore');
|