add null value as default to onVerify

This commit is contained in:
Ed Chalstrey 2022-05-19 15:49:05 +01:00
parent 62421d60d3
commit 5c3d5a3741

View File

@ -24,6 +24,7 @@ class Verification extends Component<VerificationProps, any> {
e.preventDefault();
const x = e.clientX / document.body.clientWidth;
const y = e.clientY / document.body.clientHeight;
const value = null;
this.props.onVerify(this.props.slug, verify, x, y);
}
}