-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Missing resources in props for Menu #1196
Comments
You need to grab the |
Reopening, I realize the doc is misleading on that point. It's indeed a documentation bug. |
Thank you very much! That makes sense 💯 |
If I make my own menu, the compiler will throw an error. I think it comes from the sample code in the documentation But I don't know how to import the correct getResources from the 'admin-on-rest' module. |
@alextsoi please ask the question on StackOverflow |
Sorry, my mistake, I'll update the doc |
Is Otherwise, |
@fzaninotto we have just solved it as |
What you were expecting:
Resources are passed in props to custom menu component
What happened instead:
Resources are
undefined
Steps to reproduce:
Thank you very much,
Jan
The text was updated successfully, but these errors were encountered: