Skip to content

Commit f6e08d7

Browse files
committedMar 19, 2025·
Disable cancel button while publishing
1 parent 96e6497 commit f6e08d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/shared-components/src/components/modal/confirmation/ConfirmationModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const ConfirmationModal = (props: Props) => {
5757
{translateIfAvailable(texts.confirm)}
5858
</Button>
5959
{texts.cancel && (
60-
<Button variant="tertiary" onClick={props.onClose}>
60+
<Button variant="tertiary" onClick={props.onClose} disabled={isLoading}>
6161
{translateIfAvailable(texts.cancel)}
6262
</Button>
6363
)}

0 commit comments

Comments
 (0)
Please sign in to comment.