Skip to content

Commit

Permalink
docs(ui): add default reason for closing the wallet's modal
Browse files Browse the repository at this point in the history
  • Loading branch information
thekiba committed May 20, 2024
1 parent e19139e commit aa2586c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/managers/single-wallet-modal-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit aa2586c

Please sign in to comment.