mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 11:29:42 +00:00
feat: updated code by rabbit, reptile and maidul changes
This commit is contained in:
@@ -45,8 +45,6 @@ export const ConfirmActionModal = ({
|
||||
setIsLoading.on();
|
||||
try {
|
||||
await onConfirmed();
|
||||
} catch {
|
||||
setIsLoading.off();
|
||||
} finally {
|
||||
setIsLoading.off();
|
||||
}
|
||||
@@ -77,7 +75,7 @@ export const ConfirmActionModal = ({
|
||||
<Button variant="plain" colorSchema="secondary" onClick={onClose}>
|
||||
Cancel
|
||||
</Button>
|
||||
</ModalClose>{" "}
|
||||
</ModalClose>
|
||||
</div>
|
||||
}
|
||||
onClose={onClose}
|
||||
|
||||
Reference in New Issue
Block a user