Skip to content

Commit d61c961

Browse files
fix(sdk): add a cancel button to the delete domain dialog (#2033)
1 parent 664da62 commit d61c961

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎web/sdk/client/views/security/components/delete-domain-dialog.tsx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,18 @@ function DeleteDomainContent({
188188
</Flex>
189189
</AlertDialog.Body>
190190
<AlertDialog.Footer>
191+
<AlertDialog.Close
192+
render={
193+
<Button
194+
variant="outline"
195+
color="neutral"
196+
disabled={isPending}
197+
data-test-id="frontier-sdk-delete-domain-cancel-btn"
198+
>
199+
Cancel
200+
</Button>
201+
}
202+
/>
191203
{isDomainLoading ? (
192204
<Skeleton height={32} width={120} />
193205
) : (

0 commit comments

Comments
 (0)