diff --git a/react/src/components/dashboard/walletsData.js b/react/src/components/dashboard/walletsData.js
index 9dcb4e0..592960c 100644
--- a/react/src/components/dashboard/walletsData.js
+++ b/react/src/components/dashboard/walletsData.js
@@ -6,18 +6,18 @@ import { sortByDate } from '../../util/sort';
import {
basiliskRefresh,
basiliskConnection,
- getDexNotaries,
toggleDashboardTxInfoModal,
getBasiliskTransactionsList,
changeMainBasiliskAddress,
displayNotariesModal,
- deleteCacheFile,
- connectNotaries,
toggleViewCacheModal,
- fetchNewCacheData,
- fetchUtxoCache,
+ changeActiveAddress,
restartBasiliskInstance,
- changeActiveAddress
+ connectNotaries,
+ getDexNotaries,
+ deleteCacheFile,
+ fetchNewCacheData,
+ fetchUtxoCache
} from '../../actions/actionCreators';
import Store from '../../store';
@@ -82,14 +82,9 @@ class WalletsData extends React.Component {
}
}
- componentDidMount() {
- console.log('use cache = ', this.state.useCache);
- }
-
toggleCacheApi() {
const _useCache = !this.state.useCache;
- console.log('useCache is set to', _useCache);
sessionStorage.setItem('useCache', _useCache);
this.setState(Object.assign({}, this.state, {
useCache: _useCache,
diff --git a/react/src/components/dashboard/walletsNativeReceive.js b/react/src/components/dashboard/walletsNativeReceive.js
index bf1371d..4ae6efd 100644
--- a/react/src/components/dashboard/walletsNativeReceive.js
+++ b/react/src/components/dashboard/walletsNativeReceive.js
@@ -1,14 +1,11 @@
import React from 'react';
import { translate } from '../../translate/translate';
import {
- getNewKMDAddresses,
- copyCoinAddress
+ copyCoinAddress,
+ getNewKMDAddresses
} from '../../actions/actionCreators';
import Store from '../../store';
-// TODO: implement sorting
-// TODO: importaddress, importprivkey(?)
-
class WalletsNativeReceive extends React.Component {
constructor(props) {
super(props);
diff --git a/react/src/components/dashboard/walletsNativeSend.js b/react/src/components/dashboard/walletsNativeSend.js
index 2ac87f7..69884ef 100644
--- a/react/src/components/dashboard/walletsNativeSend.js
+++ b/react/src/components/dashboard/walletsNativeSend.js
@@ -3,10 +3,10 @@ import Config from '../../config';
import { translate } from '../../translate/translate';
import { secondsToString } from '../../util/time';
import {
- sendNativeTx,
- getKMDOPID,
resolveOpenAliasAddress,
- triggerToaster
+ triggerToaster,
+ sendNativeTx,
+ getKMDOPID
} from '../../actions/actionCreators';
import Store from '../../store';
diff --git a/react/src/components/dashboard/walletsNav.js b/react/src/components/dashboard/walletsNav.js
index dfb7080..b726c8b 100644
--- a/react/src/components/dashboard/walletsNav.js
+++ b/react/src/components/dashboard/walletsNav.js
@@ -72,7 +72,7 @@ class WalletsNav extends React.Component {