chore: remove redundant console logs (#868)
This commit is contained in:
parent
5f20e65ca6
commit
fa5c994ddc
15 changed files with 18 additions and 64 deletions
|
|
@ -94,11 +94,8 @@ const SingleModule: React.FC = () => {
|
|||
|
||||
await modulesService
|
||||
.addIssuesToModule(workspaceSlug as string, projectId as string, moduleId as string, data)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
mutate(MODULE_ISSUES(moduleId as string));
|
||||
})
|
||||
.catch((e) =>
|
||||
.then(() => mutate(MODULE_ISSUES(moduleId as string)))
|
||||
.catch(() =>
|
||||
setToastAlert({
|
||||
type: "error",
|
||||
title: "Error!",
|
||||
|
|
|
|||
|
|
@ -81,12 +81,7 @@ const LabelsSettings: NextPage = () => {
|
|||
mutate((prevData) => prevData?.filter((p) => p.id !== labelId), false);
|
||||
issuesService
|
||||
.deleteIssueLabel(workspaceSlug as string, projectDetails.id, labelId)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
});
|
||||
.catch((e) => console.log(e));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue