Whoops, don't always show this modal

This commit is contained in:
Dane Everitt 2020-08-18 20:16:13 -07:00
parent e873c597bb
commit 57bb652d81
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -38,7 +38,7 @@ export default ({ subuser }: { subuser: Subuser }) => {
<ConfirmationModal <ConfirmationModal
title={'Delete this subuser?'} title={'Delete this subuser?'}
buttonText={'Yes, remove subuser'} buttonText={'Yes, remove subuser'}
visible visible={showConfirmation}
showSpinnerOverlay={loading} showSpinnerOverlay={loading}
onConfirmed={() => doDeletion()} onConfirmed={() => doDeletion()}
onModalDismissed={() => setShowConfirmation(false)} onModalDismissed={() => setShowConfirmation(false)}