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

refactor useHasSelectedInnerBlock to use core function #9

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

fabiankaegy
Copy link
Member

I just found out that core now has a method in the core/block-editor data store to determine wether a block has block selected. So I refactored our component to use the core functionality.

@fabiankaegy fabiankaegy added the [Type] Enhancement New feature or request label Feb 3, 2021
@fabiankaegy fabiankaegy self-assigned this Feb 3, 2021
@tlovett1
Copy link
Member

tlovett1 commented Feb 3, 2021

Nice!

@tlovett1 tlovett1 merged commit d5e0a50 into trunk Feb 3, 2021
@tlovett1 tlovett1 deleted the feature/update-has-selected-inner-blocks branch February 3, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants