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 0ea041f commit dc84fedCopy full SHA for dc84fed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "tutorcruncher-socket",
3
- "version": "1.3.13",
+ "version": "1.3.14",
4
"description": "TutorCruncher socket",
5
"author": "Samuel Colvin <samuel@tutorcruncher.com>",
6
"private": false,
src/components/shared/EnquiryForm.js
@@ -54,6 +54,7 @@ class EnquiryForm extends Component {
54
if (r.status === 201) {
55
this.props.root.ga_event('enquiry-form', 'submitted', this.props.mode)
56
this.setState({submitted: true})
57
+ this.props.config.event_callback('enquiry_submitted', {mode: this.props.mode, data})
58
} else {
59
console.warn('Invalid form:', r)
60
this.setState({error: true})
0 commit comments