Skip to content

Commit

Permalink
code: remove modal prop
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed May 7, 2024
1 parent 4993242 commit 410fb91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions packages/connect-button/src/components/connect-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,6 @@ export class ConnectButton extends LitElement {
></radix-requests-page>`
}

private get isModal() {
return this.isMobile || this.showLinking
}

private get showComingSoonTemplate() {
return this.isMobile && !this.enableMobile
}
Expand All @@ -275,7 +271,6 @@ export class ConnectButton extends LitElement {
return html` <radix-popover
?connected=${this.connected}
?compact=${this.compact}
?modal=${this.isModal}
?showCloseButton=${this.showPopoverCloseButton}
@onClosePopover=${() => {
this.closePopover()
Expand Down
6 changes: 0 additions & 6 deletions packages/connect-button/src/components/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ export class RadixPopover extends LitElement {
})
compact = false

@property({
type: Boolean,
reflect: true,
})
modal = false

@property({
type: Boolean,
reflect: true,
Expand Down

0 comments on commit 410fb91

Please sign in to comment.