feat(auth): add feedback state for user and role management (#1191)

This commit is contained in:
Rıdvan Akca
2023-08-07 12:08:29 +03:00
committed by GitHub
parent 7ca37c412e
commit b4cda90338
10 changed files with 161 additions and 100 deletions

View File

@@ -17,7 +17,6 @@ import useUsers from 'hooks/useUsers';
import useFormatMessage from 'hooks/useFormatMessage';
import * as URLS from 'config/urls';
// TODO: introduce interaction feedback upon deletion (successful + failure)
// TODO: introduce loading bar
export default function UserList(): React.ReactElement {
const formatMessage = useFormatMessage();
@@ -56,19 +55,11 @@ export default function UserList(): React.ReactElement {
sx={{ '&:last-child td, &:last-child th': { border: 0 } }}
>
<TableCell scope="row">
<Typography
variant="subtitle2"
>
{user.fullName}
</Typography>
<Typography variant="subtitle2">{user.fullName}</Typography>
</TableCell>
<TableCell>
<Typography
variant="subtitle2"
>
{user.email}
</Typography>
<Typography variant="subtitle2">{user.email}</Typography>
</TableCell>
<TableCell>