mirror of https://github.com/embarklabs/embark.git
fix double export
This commit is contained in:
parent
af4bae7ced
commit
17c8a4927e
|
@ -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)
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue