Skip to content

Commit

Permalink
re-enable auto clear
Browse files Browse the repository at this point in the history
  • Loading branch information
cdalton713 committed Nov 30, 2020
1 parent 7ee6e6d commit b6523eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/routes/user/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit b6523eb

Please sign in to comment.