Skip to content

Commit e2ad3c1

Browse files
committed
Form information
1 parent ace6026 commit e2ad3c1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/form/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,14 @@ export default props => {
5050
);
5151

5252
return (
53-
<form onSubmit={onSubmit} className="Form" name="contact">
53+
<form
54+
data-netlify="true"
55+
onSubmit={onSubmit}
56+
className="Form"
57+
name="contact"
58+
>
59+
<input type="hidden" name="form-name" value="contact" />
60+
5461
<Input
5562
component="input"
5663
type="name"

0 commit comments

Comments
 (0)