-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
PagePages: Fix unintended object mutation inside component #55314
Conversation
- Don't reuse references when updating postStatuses - Don't accidentally mutate EMPTY_OBJECT
Size Change: +14 B (0%) Total Size: 1.65 MB
ℹ️ View Unchanged
|
Flaky tests detected in a9983db. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6497710554
|
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, thanks!
Fixes subtle bug introduced in #55050.
See my detailed explanation in the original PR: #55050 (review)
postStatuses
EMPTY_OBJECT
Part of #55083