forked from github/plane
chore: added error toast for invitation (#2853)
This commit is contained in:
parent
236caaafe8
commit
38a5b7bec0
@ -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 = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user