Skip to content

Fix extraneous properties in state clean#124

Open
cmbartschat wants to merge 1 commit into
porsager:masterfrom
cmbartschat:cmb-clean
Open

Fix extraneous properties in state clean#124
cmbartschat wants to merge 1 commit into
porsager:masterfrom
cmbartschat:cmb-clean

Conversation

@cmbartschat
Copy link
Copy Markdown

@cmbartschat cmbartschat commented May 17, 2026

Context

Introduced in c626602#diff-11b7451007049bfefb31193b5a9af9bbd494cae1b851425587076d31a0e8b516R56-R94

defaults is a function that returns a state object. defaults[x] is accessing the property on the function, which is undefined for most properties, the effect of which means extra properties are present even though they match the defaults.

Testing

Before

Screenshot 2026-05-16 at 11 55 27 PM

After

Screenshot 2026-05-16 at 11 54 56 PM

@cmbartschat cmbartschat deleted the cmb-clean branch May 17, 2026 07:01
@cmbartschat cmbartschat restored the cmb-clean branch May 17, 2026 07:13
@cmbartschat cmbartschat reopened this May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant