fix double export

This commit is contained in:
Iuri Matias 2018-08-06 12:05:59 -04:00 committed by Pascal Precht
parent af4bae7ced
commit 17c8a4927e
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 7 additions and 21 deletions

View File

@ -106,27 +106,6 @@ export function *watchListenToProcessLogs() {
yield takeEvery(actions.WATCH_NEW_PROCESS_LOGS, listenToProcessLogs); yield takeEvery(actions.WATCH_NEW_PROCESS_LOGS, listenToProcessLogs);
} }
export default function *root() {
yield all([
fork(watchInitBlockHeader),
fork(watchFetchAccounts),
fork(watchFetchAccount),
fork(watchFetchProcesses),
fork(watchFetchProcessLogs),
fork(watchListenToProcessLogs),
fork(watchFetchBlock),
fork(watchFetchTransactions)
fork(watchFetchTransaction),
fork(watchPostCommand)
fork(watchFetchBlocks),
fork(watchFetchContracts),
fork(watchFetchContract),
fork(watchFetchTransaction),
fork(watchFetchContractProfile),
fork(watchFetchTransactions)
]);
}
export function *fetchContract(action) { export function *fetchContract(action) {
try { try {
const contract = yield call(api.fetchContract, action.contractName); const contract = yield call(api.fetchContract, action.contractName);
@ -170,11 +149,18 @@ export default function *root() {
yield all([ yield all([
fork(watchInitBlockHeader), fork(watchInitBlockHeader),
fork(watchFetchAccounts), fork(watchFetchAccounts),
fork(watchFetchAccount),
fork(watchFetchProcesses), fork(watchFetchProcesses),
fork(watchFetchProcessLogs), fork(watchFetchProcessLogs),
fork(watchListenToProcessLogs),
fork(watchFetchBlock),
fork(watchFetchTransactions)
fork(watchFetchTransaction),
fork(watchPostCommand)
fork(watchFetchBlocks), fork(watchFetchBlocks),
fork(watchFetchContracts), fork(watchFetchContracts),
fork(watchFetchContract), fork(watchFetchContract),
fork(watchFetchTransaction),
fork(watchFetchContractProfile), fork(watchFetchContractProfile),
fork(watchFetchTransactions) fork(watchFetchTransactions)
]); ]);