Skip to content

Commit

Permalink
Fix missing export preventing custom app
Browse files Browse the repository at this point in the history
Closes #2302

Supersedes #2696
  • Loading branch information
fzaninotto committed Jan 29, 2019
1 parent 4b51e9c commit adcc8cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/CustomApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ Here is the default store creation for react-admin:

```js
// in src/createAdminStore.js
import { combineReducers, createStore, compose, applyMiddleware } from 'redux';
import { routerMiddleware } from 'react-router-redux';
import { applyMiddleware, combineReducers, compose, createStore } from 'redux';
import { routerMiddleware, routerReducer } from 'react-router-redux';
import { reducer as formReducer } from 'redux-form';
import createSagaMiddleware from 'redux-saga';
import { all, fork } from 'redux-saga/effects';
import {
Expand Down
2 changes: 2 additions & 0 deletions packages/ra-core/src/form/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import addField from './addField';
import FormDataConsumer from './FormDataConsumer';
import FormField from './FormField';
import formMiddleware from './formMiddleware';
import getDefaultValues from './getDefaultValues';
import withDefaultValue from './withDefaultValue';

export {
addField,
FormDataConsumer,
FormField,
formMiddleware,
getDefaultValues,
withDefaultValue,
};
Expand Down

0 comments on commit adcc8cc

Please sign in to comment.