style: fix linting issues met Prettier
This commit is contained in:
parent
902518f9b1
commit
3760b3f6f3
2 changed files with 4 additions and 4 deletions
|
@ -102,15 +102,15 @@
|
|||
{ cid: clsId, an: num },
|
||||
{
|
||||
onSuccess: (data) => {
|
||||
if (data?.assignment){
|
||||
if (data?.assignment) {
|
||||
window.location.reload();
|
||||
}
|
||||
showSnackbar(t("success") ,"success");
|
||||
showSnackbar(t("success"), "success");
|
||||
},
|
||||
onError: (e) => {
|
||||
showSnackbar(t("failed") + ": " + e.response.data.error || e.message, "error");
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue