Skip to content

Commit

Permalink
small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
CiprianDraghici committed Aug 1, 2024
1 parent 35b75c2 commit 0597269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IFrameManager/IframeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export class IframeManager extends WindowManager {
private floatingWalletComponent: IFrameProviderContentWindow | null = null;
private readonly onClose: (() => void) | undefined = undefined;

constructor({ onClose }: { onClose?: () => void } = {}) {
constructor(props?: { onClose?: () => void }) {
super();
this.onClose = onClose;
this.onClose = props?.onClose;
}

public get floatingWallet() {
Expand Down

0 comments on commit 0597269

Please sign in to comment.