Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@
},
"dependencies": {
"fuzzy-search": "^1.4.0",
"lodash": "^4.17.4",
"lodash.uniqby": "^4.7.0",
"lowlight": "^1.5.0",
"marked": "^0.3.6",
"md5": "^2.2.1",
"moment": "^2.17.1",
"node-emoji": "^1.7.0",
"normalizr": "^3.2.3",
"parse-diff": "^0.4.0",
"query-string": "^4.3.1",
"react": "16.0.0-alpha.12",
Expand Down
4 changes: 4 additions & 0 deletions root.reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ import { organizationReducer } from 'organization';
import { issueReducer } from 'issue';
import { searchReducer } from 'search';
import { notificationsReducer } from 'notifications';
import { entities, errorMessage, pagination } from './src/api/api.reducer';

export const rootReducer = combineReducers({
entities,
errorMessage,
pagination,
auth: authReducer,
user: userReducer,
repository: repositoryReducer,
Expand Down
3 changes: 2 additions & 1 deletion root.store.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import Reactotron from 'reactotron-react-native'; // eslint-disable-line import/
import createLogger from 'redux-logger';
import reduxThunk from 'redux-thunk';
import 'config/reactotron';
import apiMiddleware from 'api/api.middleware';
import { rootReducer } from './root.reducer';

const getMiddleware = () => {
const middlewares = [reduxThunk];
const middlewares = [reduxThunk, apiMiddleware];

if (__DEV__) {
if (process.env.LOGGER_ENABLED) {
Expand Down
Loading