chore: remove redundant console logs (#868)

This commit is contained in:
Aaryan Khandelwal 2023-04-18 01:15:26 +05:30 committed by GitHub
parent 5f20e65ca6
commit fa5c994ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 18 additions and 64 deletions

View file

@ -56,7 +56,6 @@ const SendWorkspaceInvitationModal: React.FC<Props> = ({
await workspaceService
.inviteWorkspace(workspace_slug, { emails: [formData] })
.then((res) => {
console.log(res);
setIsOpen(false);
handleClose();
mutate(WORKSPACE_INVITATIONS, (prevData: any) => [
@ -64,9 +63,9 @@ const SendWorkspaceInvitationModal: React.FC<Props> = ({
...(prevData ?? []),
]);
setToastAlert({
title: "Success",
type: "success",
message: "Member invited successfully",
title: "Success!",
message: "Member invited successfully.",
});
})
.catch((err) => console.log(err));