chore: remove and replace log with info

This commit is contained in:
Tristan Yang
2022-09-01 18:34:59 +08:00
parent ffbdc212f7
commit 3247de57db
36 changed files with 37 additions and 77 deletions
+4 -4
View File
@@ -31,7 +31,7 @@ export const channelApi = createApi({
await queryFulfilled;
dispatch(removeChannel(gid));
} catch {
console.log("channel update failed");
console.error("channel update failed");
}
}
}),
@@ -54,7 +54,7 @@ export const channelApi = createApi({
try {
await queryFulfilled;
} catch {
console.log("channel update failed");
console.error("channel update failed");
}
}
}),
@@ -115,7 +115,7 @@ export const channelApi = createApi({
dispatch(removeReactionMessage(mids));
}
} catch {
console.log("remove channel error");
console.error("remove channel error");
}
}
}),
@@ -178,7 +178,7 @@ export const channelApi = createApi({
})
);
} catch (error) {
console.log("err", error);
console.error("err", error);
}
}
})