Fix class/className in search-box

This commit is contained in:
Tom Russell 2019-02-24 13:34:57 +00:00
parent de5ba78d3f
commit 228530cb88

View File

@ -89,7 +89,7 @@ class SearchBox extends Component {
return (
<div className={`search-box ${this.props.is_building? "building" : ""}`}>
<form action="/search" method="GET" onSubmit={this.search}
class="form-inline">
className="form-inline">
<input
className="form-control"
type="search"
@ -100,7 +100,7 @@ class SearchBox extends Component {
aria-label="Search for a postcode"
onChange={this.handleChange}
/>
<button class="btn btn-outline-dark" type="submit">Search</button>
<button className="btn btn-outline-dark" type="submit">Search</button>
</form>
{ resultsList }
</div>