React-admin: Customizing The Login and Logout Components by following documentation does not work

Created on 16 May 2019  路  2Comments  路  Source: marmelab/react-admin

What you were expecting:

Copy/Paste of example code to work

What happened instead:

Go to https://marmelab.com/react-admin/Authentication.html#customizing-the-login-and-logout-components

See the {...sanitizeRestProps(rest)} code. This will not work, as there is no sanitizeRestProps function in the example.

Other information:

Environment

  • React-admin version: 2.9.1
bug documentation good first issue

Most helpful comment

@fzan I'm not sure, prefer to post a comment directly on the blog post. We'll receive a mail from Disqus

All 2 comments

i agree this is an error in the example.

I would ask moreover, if i found an error on your advanced blog post/tutorial, this is the correct place to report?
thanks

@fzan I'm not sure, prefer to post a comment directly on the blog post. We'll receive a mail from Disqus

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fzaninotto picture fzaninotto  路  3Comments

samanmohamadi picture samanmohamadi  路  3Comments

nicgirault picture nicgirault  路  3Comments

marknelissen picture marknelissen  路  3Comments

ilaif picture ilaif  路  3Comments