fix(user): edit & invite user .

This commit is contained in:
elforjani3
2021-04-11 17:04:02 +02:00
parent f394390b98
commit 32c4fdc0bd
11 changed files with 351 additions and 26 deletions

View File

@@ -27,7 +27,7 @@ function UsersDataTable({
// Handle edit user action.
const handleEditUserAction = useCallback(
(user) => {
openDialog('userList-form', { action: 'edit', userId: user.id });
openDialog('user-form', { action: 'edit', userId: user.id });
},
[openDialog],
);