Merge pull request #418 from knshnb/remove-successful-snackbar

Remove enqueueSnackbar in makeTrialComplete when successful
This commit is contained in:
Masashi Shibata
2023-03-17 10:30:01 +09:00
committed by GitHub
-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