-
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
Site Logo: Simplify the method for getting block editor settings #47736
Conversation
Size Change: -33 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
Flaky tests detected in c98f78d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4084318352
|
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.
Nice, thank you @Mamaduka 🚀
What?
PR simplifies getting block editor settings in the Site Logo block. The block only needs to pick two values from the settings object, so there's no need for object manipulations.
How?
Directly map settings object values to the returned object.
Testing Instructions
Screenshots or screencast