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 for various buttons #996

Merged
merged 1 commit into from
Jan 24, 2019
Merged

Fix for various buttons #996

merged 1 commit into from
Jan 24, 2019

Conversation

julien
Copy link
Contributor

@julien julien commented Jan 24, 2019

No description provided.

@julien julien requested a review from wincent January 24, 2019 16:08
statics = {
key: buttonName,
};
static key = buttonName;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, this was me in #955. I had checked the documentation for create-react-class but it doesn't really exist. I thought statics was just an inappropriately named instance variable, but it actually creates static properties on the class (of course!) 🤦‍♂️

@wincent wincent merged commit 73208dd into 2.x-develop Jan 24, 2019
@julien julien deleted the fix/extra_buttons branch January 30, 2019 20:17
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