Added the ability to change the status and type of a user

This commit is contained in:
Tiago Ribeiro
2023-11-15 19:54:16 +00:00
parent d412c1616f
commit c28f7bb024
5 changed files with 48 additions and 3 deletions

View File

@@ -250,6 +250,7 @@ export default function CorporateDashboard({user}: Props) {
{selectedUser && (
<div className="w-full flex flex-col gap-8">
<UserCard
loggedInUser={user}
onClose={(shouldReload) => {
setSelectedUser(undefined);
if (shouldReload) reload();