add staff managment permission modal window

This commit is contained in:
smanylov
2026-05-19 14:44:35 +07:00
parent 748c6cb38a
commit ced17ae4a6
10 changed files with 579 additions and 99 deletions
-1
View File
@@ -227,7 +227,6 @@ async function createStuffAction(
} catch (error) {
const errors: Record<string, string> = {}
// Обработка различных ошибок от сервера
switch (error) {
case 'email-already-exists':
errors['email'] = 'email-already-exists';