Skip to content

Commit 2be09b6

Browse files
committed
fix(admin): reset the ban mutation when opening the confirm modal
1 parent a2874b2 commit 2be09b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/settings/components/admin

apps/sim/app/workspace/[workspaceId]/settings/components/admin/admin.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export function Admin() {
288288
: {
289289
label: 'Ban',
290290
onSelect: () => {
291+
banUser.reset()
291292
setBanReason('')
292293
setPendingAction({ type: 'ban', user: u })
293294
},

0 commit comments

Comments
 (0)