We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a70d567 + a78f752 commit ebff2bcCopy full SHA for ebff2bc
1 file changed
docs/_js/live_editor.js
@@ -81,7 +81,7 @@ var ReactPlayground = React.createClass({
81
/>;
82
} else if (this.state.mode === this.MODES.JS) {
83
content =
84
- <div class={{playgroundJS: true, playgroundStage: true}}>
+ <div class="playgroundJS playgroundStage">
85
{this.getDesugaredCode()}
86
</div>;
87
}
@@ -121,7 +121,7 @@ var ReactPlayground = React.createClass({
121
122
} catch (e) {
123
React.renderComponent(
124
- <div content={e.toString()} class={{playgroundError: true}} />,
+ <div content={e.toString()} class="playgroundError" />,
125
mountNode
126
);
127
0 commit comments