-
Notifications
You must be signed in to change notification settings - Fork 4.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
BottomSheetSettings: remove unneeded settings prop #47332
Conversation
Size Change: 0 B Total Size: 1.33 MB ℹ️ View Unchanged
|
One more similar removal in the Cover block. Same story: |
Flaky tests detected in 694e470. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3976301820
|
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.
LGTM! Thanks for updating this! 🚀
Removes a
settings
prop (passed fromwithSelect
) from theBottomSheetSettings
component. The prop stopped being used in #38417, which started usinguseMobileGlobalStylesColors
, but wasn't removed.The prop was passed as a part of the
...props
spread to<BottomSheet>
and<ImageLinkDestinationsScreen>
, and I verified that these components don't use it.Found this when reviewing usages of the
getSettings()
selector across Gutenberg.