mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
19 lines
433 B
JavaScript
19 lines
433 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');
|