From cdc63ceba56a0c321cdef8a4e0840ecaf7ff34c8 Mon Sep 17 00:00:00 2001 From: Umi Oh Date: Thu, 8 Aug 2019 01:55:02 +0900 Subject: [PATCH] Fix typos in documentation --- docs/CustomApp.md | 4 ++-- docs/FAQ.md | 2 +- docs/UnitTesting.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/CustomApp.md b/docs/CustomApp.md index 80ba3aa3498..e29664f2a92 100644 --- a/docs/CustomApp.md +++ b/docs/CustomApp.md @@ -5,7 +5,7 @@ title: "Including the Admin in Another App" # Including React-Admin In Another Redux Application -The `` tag is a great shortcut got be up and running with react-admin in minutes. However, in many cases, you will want to embed the admin in another application, or customize the admin redux store deeply. +The `` tag is a great shortcut to be up and running with react-admin in minutes. However, in many cases, you will want to embed the admin in another application, or customize the admin redux store deeply. **Tip**: Before going for the Custom App route, explore all the options of [the `` component](./Admin.md). They allow you to add custom routes, custom reducers, custom sagas, and customize the layout. @@ -82,7 +82,7 @@ export default ({ }; ``` -You can use this script as a base and then add your own middleares or enhancers, e.g. to allow store persistence with [redux-persist](https://github.com/rt2zz/redux-persist). +You can use this script as a base and then add your own middlewares or enhancers, e.g. to allow store persistence with [redux-persist](https://github.com/rt2zz/redux-persist). Then, use the `` component as you would in a standalone application. Here is an example with 3 resources: `posts`, `comments`, and `users` diff --git a/docs/FAQ.md b/docs/FAQ.md index 0d0b5058cbc..56351019dce 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -97,7 +97,7 @@ Some use cases: - Show/hide some inputs if another input has a value - Show/hide some inputs if another input has a specific value -- Show/hide some inputs if the current form values matches specific constraints +- Show/hide some inputs if the current form value matches specific constraints For all those cases, you can use the [aor-dependent-input](https://github.com/marmelab/aor-dependent-input) addon. diff --git a/docs/UnitTesting.md b/docs/UnitTesting.md index dd8d96e6fa4..ae779a81ef3 100644 --- a/docs/UnitTesting.md +++ b/docs/UnitTesting.md @@ -54,7 +54,7 @@ At this point, your component should `mount` without errors and you can unit tes ## Enabling reducers to ensure actions are dispatched -If you component relies on a a reducer, e.g. redux-form submission, you can enable reducers using the `enableReducers` prop: +If you component relies on a reducer, e.g. redux-form submission, you can enable reducers using the `enableReducers` prop: ```jsx myCustomEditView = mount(