diff --git a/react/PickupPointsModal.js b/react/PickupPointsModal.js index 20d8dfb..8e35a14 100644 --- a/react/PickupPointsModal.js +++ b/react/PickupPointsModal.js @@ -201,7 +201,7 @@ class PickupPointsModal extends Component { }) } - this.props.closePickupPointsModal() + this.props.closePickupPointsModal({rules: this.props.rules, activePickupPoint: this.props.activePickupPoint}) } handleChangeGeolocationLoading = (event) => { diff --git a/react/build.config.js b/react/build.config.js new file mode 100644 index 0000000..70a4141 --- /dev/null +++ b/react/build.config.js @@ -0,0 +1,5 @@ +module.exports = { + typescript: { + transpileOnly: true, + }, +}