From 2fed5ee6f965d7dc15a735e67fc733a3e4c86b72 Mon Sep 17 00:00:00 2001 From: Natalie Date: Tue, 13 Feb 2024 23:47:46 -0500 Subject: [PATCH 1/2] adding redux thunk for incident form, modifying incident form to match post request for incident, modifying query parameters for incident data --- .../dashboard/ItemTable/ItemTable.tsx | 6 +- .../src/pages/IncidentForm/IncidentForm.tsx | 99 +++++++++---- .../src/slices/incident/incidentSlice.ts | 136 ++++++++++++++++++ .../dashboard/frontend/src/slices/store.ts | 2 + 4 files changed, 217 insertions(+), 26 deletions(-) create mode 100644 hackathon_site/dashboard/frontend/src/slices/incident/incidentSlice.ts diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx index c8a5ad6ff..23ae1e32e 100644 --- a/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx @@ -186,7 +186,11 @@ export const CheckedOutTables = () =>