Skip to content

Conversation

@Eskibear
Copy link
Member

Previously the page was renderred twice:

  1. on startup (no props passed)
  2. on message

Thus, showWhenUsingJava was undefined in the first time, making the checkbox always checked by default, because the component was re-used in the second time.

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
@Eskibear Eskibear requested a review from jdneo April 12, 2021 06:22
@Eskibear Eskibear merged commit 203546e into master Apr 12, 2021
@Eskibear Eskibear deleted the welcome-checkbox branch April 12, 2021 07:08
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.

3 participants