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 Tag Cloud block to use React Hooks #23426

Merged
merged 2 commits into from Jul 17, 2020

Conversation

bartczyz
Copy link
Contributor

Description

Related #22890.

Types of changes

Refactor TagCloudEdit to use React Hooks.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

@ZebulanStanphill ZebulanStanphill added [Block] Tag Cloud Affects the Tag Cloud Block [Package] Block library /packages/block-library [Type] Code Quality Issues or PRs that relate to code quality labels Jun 25, 2020

this.state = {
editing: ! this.props.attributes.taxonomy,
Copy link
Contributor

Choose a reason for hiding this comment

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

so this was useless

@youknowriad
Copy link
Contributor

Would you mind rebasing the PR to get the latest checks?

@bartczyz
Copy link
Contributor Author

@youknowriad sure, no problem. 🙂

@ZebulanStanphill ZebulanStanphill merged commit 0a22d69 into WordPress:master Jul 17, 2020
@github-actions github-actions bot added this to the Gutenberg 8.6 milestone Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Tag Cloud Affects the Tag Cloud Block [Package] Block library /packages/block-library [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants