chore: remove redundant console logs (#868)
This commit is contained in:
parent
5f20e65ca6
commit
fa5c994ddc
15 changed files with 18 additions and 64 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue