Merge branch 'develop' into dist/ubuntu/bionic/develop
This commit is contained in:
commit
e5315fe9d0
|
@ -18,7 +18,7 @@ export function* fetchIssuesSaga(action: any) {
|
||||||
if (pageIssues.length === 0) {
|
if (pageIssues.length === 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
issues.push(...pageIssues);
|
issues.push(...pageIssues.filter(issue => issue.pull_request === null));
|
||||||
page++;
|
page++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { createStore, applyMiddleware } from 'redux'
|
import { createStore, applyMiddleware, compose } from 'redux'
|
||||||
import createSagaMiddleware from 'redux-saga'
|
import createSagaMiddleware from 'redux-saga'
|
||||||
import { rootReducer } from './reducers/root'
|
import { rootReducer } from './reducers/root'
|
||||||
import { rootSaga } from './sagas/root'
|
import { rootSaga } from './sagas/root'
|
||||||
|
@ -14,6 +14,8 @@ if (process.env.NODE_ENV !== 'production') {
|
||||||
reduxMiddlewares.push(loggerMiddleware);
|
reduxMiddlewares.push(loggerMiddleware);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const composeEnhancers = (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||||
|
|
||||||
// create the saga middleware
|
// create the saga middleware
|
||||||
const sagaMiddleware = createSagaMiddleware()
|
const sagaMiddleware = createSagaMiddleware()
|
||||||
reduxMiddlewares.push(sagaMiddleware);
|
reduxMiddlewares.push(sagaMiddleware);
|
||||||
|
@ -21,7 +23,7 @@ reduxMiddlewares.push(sagaMiddleware);
|
||||||
// mount it on the Store
|
// mount it on the Store
|
||||||
export const store = createStore(
|
export const store = createStore(
|
||||||
rootReducer,
|
rootReducer,
|
||||||
applyMiddleware(...reduxMiddlewares)
|
composeEnhancers(applyMiddleware(...reduxMiddlewares)),
|
||||||
)
|
)
|
||||||
|
|
||||||
// then run the saga
|
// then run the saga
|
||||||
|
|
Loading…
Reference in New Issue