Skip to content

Commit 57bb652

Browse files
committed
Whoops, don't always show this modal
1 parent e873c59 commit 57bb652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/scripts/components/server/users/RemoveSubuserButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default ({ subuser }: { subuser: Subuser }) => {
3838
<ConfirmationModal
3939
title={'Delete this subuser?'}
4040
buttonText={'Yes, remove subuser'}
41-
visible
41+
visible={showConfirmation}
4242
showSpinnerOverlay={loading}
4343
onConfirmed={() => doDeletion()}
4444
onModalDismissed={() => setShowConfirmation(false)}

0 commit comments

Comments
 (0)