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

Weakky picture Weakky  路  20Comments

ragboyjr picture ragboyjr  路  29Comments

ric-kin picture ric-kin  路  24Comments

keulu-ing picture keulu-ing  路  22Comments

xiaomingplus picture xiaomingplus  路  22Comments