Bugfix: delete style in form

old
Javi Velasco 2016-05-25 00:28:07 +02:00
parent 6329c5d11d
commit 22819ca54c
1 changed files with 1 additions and 3 deletions

View File

@ -59,10 +59,8 @@ class Form extends React.Component {
}
render () {
const className = `${style.root} ${this.props.className}`;
return (
<form data-react-toolbox='form' className={className} onSubmit={this.onSubmit}>
<form data-react-toolbox='form' className={this.props.className} onSubmit={this.onSubmit}>
{this.renderFields()}
{this.props.children}
</form>