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