'Back to results' handled properly
This commit is contained in:
@@ -9,9 +9,7 @@ export default class ListingDetails extends React.Component {
|
||||
}
|
||||
|
||||
onBackClick() {
|
||||
if (this.props.onBackClick) {
|
||||
this.props.onBackClick();
|
||||
}
|
||||
this.props.dispatch({type: 'BACK_TO_RESULTS'});
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user