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

@ -24,17 +24,14 @@ export const InviteMembers: React.FC<Props> = ({ setStep, workspace }) => {
const onSubmit = async (formData: IUser) => {
await workspaceService
.inviteWorkspace(workspace.slug, formData)
.then((res) => {
console.log(res);
.then(() => {
setToastAlert({
type: "success",
title: "Invitations sent!",
});
setStep(4);
})
.catch((err) => {
console.log(err);
});
.catch((err) => console.log(err));
};
return (