From aa2586c7060dfdbe0a662a490efc172b1c620795 Mon Sep 17 00:00:00 2001
From: thekiba
Date: Mon, 20 May 2024 17:42:46 +0400
Subject: [PATCH] docs(ui): add default reason for closing the wallet's modal
---
packages/ui/src/managers/single-wallet-modal-manager.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/ui/src/managers/single-wallet-modal-manager.ts b/packages/ui/src/managers/single-wallet-modal-manager.ts
index 7ee46349..6d4a9ce2 100644
--- a/packages/ui/src/managers/single-wallet-modal-manager.ts
+++ b/packages/ui/src/managers/single-wallet-modal-manager.ts
@@ -119,6 +119,7 @@ export class SingleWalletModalManager implements SingleWalletModal {
/**
* Closes the modal window.
+ * @default 'action-cancelled'
*/
public close(reason: WalletsModalCloseReason = 'action-cancelled'): void {
if (reason === 'action-cancelled') {