mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Fix booking own listing
Event from the form submit handler is also passed to the submit handler obtained in the props.
This commit is contained in:
parent
961f81613c
commit
ae62d9bbbd
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export class BookingDatesFormComponent extends Component {
|
|||
e.preventDefault();
|
||||
this.setState({ focusedInput: END_DATE });
|
||||
} else {
|
||||
this.props.handleSubmit();
|
||||
this.props.handleSubmit(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue