We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc212c2 commit 6d27d6bCopy full SHA for 6d27d6b
package.json
@@ -25,7 +25,7 @@
25
"engines": {
26
"node": "8.x",
27
"npm": "5.x",
28
- "yarn": "1.3.x"
+ "yarn": "1.10.x"
29
},
30
"jest": {
31
"verbose": true,
src/components/shared/EnquiryForm.js
@@ -44,8 +44,7 @@ class EnquiryForm extends Component {
44
return
45
}
46
47
- const enquiry_form_info = this.props.root.get_enquiry()
48
- const data = Object.assign(enquiry_form_info.hidden, this.state.enquiry_data)
+ const data = Object.assign({}, this.state.enquiry_data)
49
data.upstream_http_referrer = document.referrer
50
if (this.props.contractor) {
51
data.contractor = this.props.contractor.id
0 commit comments