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

Fix an error while changing the PIN #625

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Nov 15, 2024

We used to have two variables with the same name, children, but existing in separate scopes. Unfortunately, the minifier mis-compiled this code, referring to the inner variable instead of the outer variable. To fix this, we just give the outer variable a different name, forcing the minifier to refer to the correct one.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

We used to have two variables with the same name, `children`, but existing in separate scopes. Unfortunately, the minifier mis-compiled this code, referring to the inner variable instead of the outer variable. To fix this, we just give the outer variable a different name, forcing the minifier to refer to the correct one.
@swansontec swansontec merged commit 068b99a into master Nov 18, 2024
2 checks passed
@swansontec swansontec deleted the william/change-pin-error branch November 18, 2024 18:43
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.

2 participants