Skip to content

Commit

Permalink
Merge pull request #5482 from WiXSL/fix-docs-typo
Browse files Browse the repository at this point in the history
[Doc] Fix typo
  • Loading branch information
fzaninotto authored Nov 4, 2020
2 parents 151b945 + 61f109e commit 5076d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default {
};
```

When `authProvider.checkError()` returns a rejected Promise, react-admin displays a notification to the end user, unlsee the `error.message` is `false`. That means you can disable the notification on error as follows:
When `authProvider.checkError()` returns a rejected Promise, react-admin displays a notification to the end user, unless the `error.message` is `false`. That means you can disable the notification on error as follows:

```js
// in src/authProvider.js
Expand Down

0 comments on commit 5076d5a

Please sign in to comment.