1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 08:37:59 +02:00
onion/js/stores/wallet_settings_store.js

19 lines
433 B
JavaScript
Raw Normal View History

2015-06-17 17:48:23 +02:00
'use strict';
import { alt } from '../alt';
2015-06-17 17:48:23 +02:00
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');