mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix(site): Reset delete modal data when selected user changes (#7167)
This commit is contained in:
@@ -133,6 +133,7 @@ export const UsersPage: FC<{ children?: ReactNode }> = () => {
|
||||
/>
|
||||
|
||||
<DeleteDialog
|
||||
key={usernameToDelete}
|
||||
isOpen={
|
||||
usersState.matches("confirmUserDeletion") ||
|
||||
usersState.matches("deletingUser")
|
||||
|
||||
Reference in New Issue
Block a user