Added the ability to change the status and type of a user
This commit is contained in:
@@ -317,6 +317,7 @@ export default function TeacherDashboard({user}: Props) {
|
||||
{selectedUser && (
|
||||
<div className="w-full flex flex-col gap-8">
|
||||
<UserCard
|
||||
loggedInUser={user}
|
||||
onClose={(shouldReload) => {
|
||||
setSelectedUser(undefined);
|
||||
if (shouldReload) reload();
|
||||
|
||||
Reference in New Issue
Block a user