Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 3edbd93

Browse files
committed
add alert
1 parent d4529ae commit 3edbd93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/Contact.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ class Contact extends React.Component {
119119
}
120120

121121
_onFormSubmit(formData){
122-
// TODO: Can an acton with the form data.
123-
alert(formData);
124122
console.log(formData);
123+
124+
window.alert(JSON.stringify(formData, null, 2));
125125
}
126126

127127
_renderInputField(field) {

0 commit comments

Comments
 (0)