Skip to content

Commit 4e7b763

Browse files
committed
fix: review comments
1 parent 396d987 commit 4e7b763

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/src/pages/ManagementSettingsPage/OrganizationMembersPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ const OrganizationMembersPage: FC = () => {
113113
displayError(
114114
getErrorMessage(error, "Failed to remove user from organization"),
115115
);
116+
} finally {
117+
setMemberToDelete(undefined);
116118
}
117119
}}
118120
description={
@@ -130,8 +132,7 @@ const OrganizationMembersPage: FC = () => {
130132
</p>
131133

132134
<p css={styles.test}>
133-
Are you sure you want to remove{" "}
134-
<strong>{memberToDelete?.username}</strong>?
135+
Are you sure you want to remove this member?
135136
</p>
136137
</Stack>
137138
}

0 commit comments

Comments
 (0)