Skip to content

Commit 4199b39

Browse files
do not need role and elevated role
1 parent bb3fa77 commit 4199b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/web/components/UserManagement/UserParticipantsDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function UserParticipantsDialog({ user, onOpenChange }: UserParticipantsDialogPr
1919

2020
useEffect(() => {
2121
const getParticipants = async () => {
22-
const { participants, elevatedRole: role } = await GetUserParticipants(user.id);
22+
const { participants, elevatedRole } = await GetUserParticipants(user.id);
2323
setUserParticipants(participants);
24-
setElevatedRole(role);
24+
setElevatedRole(elevatedRole);
2525
setIsLoading(false);
2626
};
2727
getParticipants();

0 commit comments

Comments
 (0)