diff --git a/app/containers/HomePage/sagas.js b/app/containers/HomePage/sagas.js deleted file mode 100644 index be1188378f..0000000000 --- a/app/containers/HomePage/sagas.js +++ /dev/null @@ -1,42 +0,0 @@ -// /** -// * Gets the repositories of the user from Github -// */ -// -// import { take, call, put, select, fork, cancel } from 'redux-saga/effects'; -// import { LOCATION_CHANGE } from 'react-router-redux'; -// import { REGISTER_PLUGIN } from 'containers/App/constants'; -// -// import { getAsyncInjectors } from 'utils/asyncInjectors'; -// // const { injectReducer, injectSagas } = getAsyncInjectors(store); // eslint-disable-line no-unused-vars -// import { Router, Route, Link } from 'react-router' -// -// /** -// * Register plugin -// */ -// export function* registerPlugin() { -// -// } -// -// /** -// * Watches for REGISTER_PLUGIN action and calls handler -// */ -// export function* getPluginsWatcher() { -// yield call(registerPlugin); -// } -// -// /** -// * Root saga manages watcher lifecycle -// */ -// export function* pluginData() { -// // Fork watcher so we can continue execution -// const watcher = yield fork(getPluginsWatcher); -// -// // Suspend execution until location changes -// yield take(LOCATION_CHANGE); -// yield cancel(watcher); -// } -// -// // Bootstrap sagas -// export default [ -// pluginData, -// ]; diff --git a/app/routes.js b/app/routes.js index 4a9999c65a..5b04d73687 100644 --- a/app/routes.js +++ b/app/routes.js @@ -22,7 +22,6 @@ export default function createRoutes(store) { name: 'home', getComponent(nextState, cb) { const importModules = Promise.all([ - System.import('containers/HomePage/sagas'), System.import('containers/HomePage'), ]); @@ -40,7 +39,6 @@ export default function createRoutes(store) { name: 'plugins', getComponent(nextState, cb) { const importModules = Promise.all([ - System.import('containers/HomePage/sagas'), System.import('containers/HomePage'), ]);