You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
when I used the "SimpleList" component;
I supposed i got this error because i passed prop "secondaryText"
which pass to the prop "secondary" of ListItemText there we have the condition:
secondary={ hasSecondaryText ? Placeholder : undefined}
ListItemText it's node Element p
component Placeholder return to us div node element
I got the error
when I used the "SimpleList" component;
I supposed i got this error because i passed prop "secondaryText"
which pass to the prop "secondary" of ListItemText there we have the condition:
secondary={ hasSecondaryText ? Placeholder : undefined}
ListItemText it's node Element p
component Placeholder return to us div node element
Example
Environment
React-admin version: ^3.12.2
React version: ^17.0.1
Browser: Google Chrome
The text was updated successfully, but these errors were encountered: