1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 18:13:49 +01:00
onion/js/stores/wallet_settings_store.js

19 lines
429 B
JavaScript
Raw Normal View History

2015-06-17 17:48:23 +02:00
'use strict';
import alt from '../alt';
import WalletSettingsActions from '../actions/wallet_settings_actions';
class WalletSettingsStore {
constructor() {
this.walletSettings = {};
this.bindActions(WalletSettingsActions);
}
onUpdateWalletSettings(walletSettings) {
this.walletSettings = walletSettings;
}
}
export default alt.createStore(WalletSettingsStore, 'WalletSettingsStore');