Skip to content
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

[PageContainer] Avoid React invalid props warning #4189

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Oct 5, 2024

Avoid spreading these props to the root element

Closes #4184

@Janpot Janpot marked this pull request as ready for review October 5, 2024 10:43
@Janpot Janpot requested a review from a team October 5, 2024 11:46
expect(within(breadcrumbs).getByText('World')).toBeTruthy();
});

// TODO: Remove in the next major version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove it in the next minor itself and not wait for a major? Perhaps breaking changes are okay to be made in a minor while the project is in beta

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, but it's not even in the current minor yet

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Oct 7, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Oct 7, 2024
@Janpot Janpot enabled auto-merge (squash) October 7, 2024 13:51
@Janpot Janpot merged commit 567818f into mui:master Oct 7, 2024
13 checks passed
@Janpot Janpot deleted the avoid-warning branch October 7, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React does not recognize the breadCrumbs prop on a DOM element. PageContainer
3 participants