diff --git a/src/App.js b/src/App.js index 20b760e..3620f6e 100644 --- a/src/App.js +++ b/src/App.js @@ -46,7 +46,7 @@ export function MyForm(props) { }; - // Create a function to handle the form submission and add data to Firebase. + // Create a function to handle the form submission and add data to Firebase. NOT WORKING const submitHandler = async (event) => { event.preventDefault() @@ -143,7 +143,16 @@ export function MyForm(props) {
Check here for existing entries:
-UNDER CONSTRUCTION:
+Code added, work in progress to add said incidents to Firestore.
+Submitter: {incident.submitter}
+Date: {incident.date}
+Context: {incident.context}
+Selected Options: {incident.selectedOptions.join(", ")}
+