mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 17:45:10 +01:00
19 lines
429 B
JavaScript
19 lines
429 B
JavaScript
|
'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');
|