Remove enqueueSnackbar in makeTrialComplete when successful

This commit is contained in:
Kenshin Abe
2023-03-16 18:00:07 +09:00
parent b20cec4421
commit 2995b0bb28
-3
View File
@@ -492,9 +492,6 @@ export const actionCreator = () => {
return
}
setTrialStateValues(studyId, index, "Complete", values)
enqueueSnackbar(`Successfully updated trial (${message})`, {
variant: "success",
})
})
.catch((err) => {
const reason = err.response?.data.reason