Skip to content

Commit

Permalink
Fix for merging errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hannyle committed Oct 29, 2021
1 parent 7d0208d commit 2027a80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Home/UserDraftTemplateActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import MenuItem from "@material-ui/core/MenuItem"
import MoreVertIcon from "@material-ui/icons/MoreVert"
import { useDispatch } from "react-redux"

import { WizardStatus } from "constants/wizardStatus"
import { ResponseStatus } from "constants/responseStatus"
import { updateStatus } from "features/statusMessageSlice"
import { deleteTemplateByAccessionId } from "features/userSlice"
import { updateStatus } from "features/wizardStatusMessageSlice"
import templateAPI from "services/templateAPI"

const UserDraftTemplateActions = (props: { item: { schema: string, accessionId: string } }): React$Element<any> => {
Expand All @@ -36,7 +36,7 @@ const UserDraftTemplateActions = (props: { item: { schema: string, accessionId:
} else {
dispatch(
updateStatus({
successStatus: WizardStatus.error,
successStatus: ResponseStatus.error,
response: response,
errorPrefix: "Unable to delete template",
})
Expand Down

0 comments on commit 2027a80

Please sign in to comment.