Contact form UI
This commit is contained in:
@@ -20,6 +20,13 @@ class Main extends React.Component {
|
||||
filters: {
|
||||
rooms: {},
|
||||
category: {}
|
||||
},
|
||||
contact: {
|
||||
message: '',
|
||||
name: '',
|
||||
email: '',
|
||||
phone: '',
|
||||
valid: true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -516,6 +523,7 @@ class Main extends React.Component {
|
||||
children.push(
|
||||
<ListingDetails
|
||||
contactFormOpen={this.state.contactFormOpen}
|
||||
contact={this.state.contact}
|
||||
listing={listing}
|
||||
imageIndex={this.state.imageIndex}
|
||||
dispatch={this.dispatch.bind(this)}
|
||||
|
||||
Reference in New Issue
Block a user