-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Site editor: remove isResizing variable from layout component as it is always false
#57119
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
Conversation
isResizing variable that is always set to falseisResizing variable from layout component as it is always false
|
Size Change: +424 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
| { isListPage && <PageMain /> } | ||
| { isEditorPage && ( | ||
| <div | ||
| className={ classnames( |
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.
The classnames call is useless here as well.
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.
Good catch, removed it 7b94302
|
Flaky tests detected in 7b94302. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7225590679
|
… is always false (#57119)
What?
Removes the
isResizingvariable, that is always set to false.Why?
It's a leftover from https://github.com/WordPress/gutenberg/pull/49910/files#diff-89e57bfd1de96b1cee155f91aa9754cb37715e9ffa9e4cc2f21463a770f7ec55L121 that removed the
setIsResizingmethod.Testing Instructions
Open the site editor and verify that resizing still works.