mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +01:00
23 lines
587 B
JavaScript
23 lines
587 B
JavaScript
'use strict';
|
|
|
|
import alt from '../alt';
|
|
import LoanContractActions from '../actions/loan_contract_actions';
|
|
|
|
|
|
class LoanContractStore {
|
|
constructor() {
|
|
this.contractKey = null;
|
|
this.contractUrl = null;
|
|
this.contractEmail = null;
|
|
this.bindActions(LoanContractActions);
|
|
}
|
|
|
|
onUpdateLoanContract({contractKey, contractUrl, contractEmail}) {
|
|
this.contractKey = contractKey;
|
|
this.contractUrl = contractUrl;
|
|
this.contractEmail = contractEmail;
|
|
}
|
|
}
|
|
|
|
export default alt.createStore(LoanContractStore, 'LoanContractStore');
|