From b6523ebf35e3f9ad6c4a0d8b2f4facb0a9f8aecc Mon Sep 17 00:00:00 2001 From: Christian Dalton Date: Sun, 29 Nov 2020 18:31:09 -0600 Subject: [PATCH] re-enable auto clear --- client/src/routes/user/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/routes/user/user.js b/client/src/routes/user/user.js index 4b42475..14de2d2 100644 --- a/client/src/routes/user/user.js +++ b/client/src/routes/user/user.js @@ -47,7 +47,7 @@ export const UserRoute = (props) => { data.find((o) => o.name === "component").value = "N/A"; const response = await handleFormSubmit(e, data, "/ticket"); if (response.status === 201) { - // dispatch({ type: "CLEAR_FORM" }); + dispatch({ type: "CLEAR_FORM" }); } }; return (