Browse Source

actionCreators split fix #1

all-modes
pbca26 8 years ago
parent
commit
d047df486f
  1. 2
      react/src/actions/actionCreators.js
  2. 6
      react/src/actions/nativeSyncInfo.js
  3. 3
      react/src/components/dashboard/coinTileItem.js

2
react/src/actions/actionCreators.js

@ -14,13 +14,11 @@ export * from './nativeSyncInfo';
export * from './basiliskCache'; export * from './basiliskCache';
export * from './nativeSend'; export * from './nativeSend';
export * from './coinList'; export * from './coinList';
export * from './syncOnly';
export * from './createWallet'; export * from './createWallet';
export * from './nativeTxHistory'; export * from './nativeTxHistory';
export * from './nativeBalance'; export * from './nativeBalance';
export * from './nativeNewAddress'; export * from './nativeNewAddress';
export * from './logout'; export * from './logout';
export * from './syncOnly';
export * from './basiliskProcessAddress'; export * from './basiliskProcessAddress';
export * from './edexGetTx'; export * from './edexGetTx';
export * from './sendFullBasilisk'; export * from './sendFullBasilisk';

6
react/src/actions/nativeSyncInfo.js

@ -1,7 +1,9 @@
import * as storeType from './storeType'; import * as storeType from './storeType';
import { import {
triggerToaster, triggerToaster,
Config Config,
getPassthruAgent,
getDebugLog
} from './actionCreators'; } from './actionCreators';
import { import {
logGuiHttp, logGuiHttp,
@ -18,7 +20,7 @@ export function getSyncInfoNativeKMD(skipDebug) {
'function': 'getSyncInfoNativeKMD', 'function': 'getSyncInfoNativeKMD',
'type': 'post', 'type': 'post',
'url': 'http://127.0.0.1:' + Config.iguanaCorePort + '/api/dex/getinfo?userpass=tmpIgRPCUser@' + sessionStorage.getItem('IguanaRPCAuth') + '&symbol=' + coin, 'url': 'http://127.0.0.1:' + Config.iguanaCorePort + '/api/dex/getinfo?userpass=tmpIgRPCUser@' + sessionStorage.getItem('IguanaRPCAuth') + '&symbol=' + coin,
'payload': payload, 'payload': '',
'status': 'pending', 'status': 'pending',
})); }));

3
react/src/components/dashboard/coinTileItem.js

@ -16,7 +16,8 @@ import {
fetchNewCacheData, fetchNewCacheData,
getKMDOPID, getKMDOPID,
getNativeTxHistory, getNativeTxHistory,
getKMDBalanceTotal getKMDBalanceTotal,
getSyncInfoNative
} from '../../actions/actionCreators'; } from '../../actions/actionCreators';
import Store from '../../store'; import Store from '../../store';

Loading…
Cancel
Save