add team member edit and remove confirmation

This commit is contained in:
Francis Cao 2024-02-08 13:01:39 -08:00
parent 5ae04291af
commit c7e9190c95
7 changed files with 182 additions and 19 deletions

View file

@ -23,7 +23,7 @@ const schema = {
POST: yup.object().shape({
role: yup
.string()
.matches(/team-member|team-guest/i)
.matches(/team-member|team-view-only/i)
.required(),
}),
};