-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Allow To Create An Admin Without Resources #7609
Conversation
@@ -181,6 +180,7 @@ export const useConfigureAdminRouterFromChildren = ( | |||
}; | |||
}, [register, unregister, resources]); | |||
|
|||
console.log({ status }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log spotted
: 'empty' | ||
getStatus({ | ||
children, | ||
resources, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest you use the same routesandResources
as in the effect, so that the reader doesn't try to understand why there is a difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay actually it was not as complicated as I imagined 😅
Fixes #7598