Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected typos, syntax errors and anchors references in the docs. #4152

Merged
merged 1 commit into from
Dec 12, 2019
Merged
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
4 changes: 2 additions & 2 deletions docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For instance, to query an authentication route via HTTPS and store the credentia

```js
// in src/authProvider.js
export default {
const authProvider = {
login: ({ username, password }) => {
const request = new Request('https://mydomain.com/authenticate', {
method: 'POST',
Expand All @@ -71,7 +71,7 @@ export default {
});
},
// ...
}
};

export default authProvider;
```
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ export default {
}
```

See the [Translation documentation](Translation.md#translating-error-messages) for details.
See the [Translation documentation](Translation.md#translation-messages) for details.

**Tip**: Make sure to define validation functions or array of functions in a variable, instead of defining them directly in JSX. This can result in a new function or array at every render, and trigger infinite rerender.

Expand Down
1 change: 0 additions & 1 deletion docs/CustomApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { all, fork } from 'redux-saga/effects';
import {
adminReducer,
adminSaga,
defaultI18nProvider,
USER_LOGOUT,
} from 'react-admin';

Expand Down
2 changes: 1 addition & 1 deletion docs/DataProviders.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ dataProvider.getManyReference('comments', {
target: 'post_id',
id: 123,
sort: { field: 'created_at', order: 'DESC' }
});
})
.then(response => console.log(response));

// {
Expand Down