chore: added error toast for invitation (#2853)

This commit is contained in:
Lakhan Baheti 2023-11-24 12:47:02 +05:30 committed by GitHub
parent 236caaafe8
commit 38a5b7bec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,13 @@ export const InviteMembers: React.FC<Props> = (props) => {
await nextStep(); await nextStep();
}) })
.catch((err) => console.log(err)); .catch((err) =>
setToastAlert({
type: "error",
title: "Error!",
message: err?.error,
})
);
}; };
const appendField = () => { const appendField = () => {