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 (