Skip to content

Commit

Permalink
Update Title Tooltip Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 15, 2024
1 parent b5c2e81 commit 2f95dc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/thorin-core/src/connect-modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class ThorinConnectModal extends LitElement {
return html`
<thorin-modal
?open="${this.open}"
title="${this.activeConnector && !this.connecting
modalTitle="${this.activeConnector && !this.connecting
? 'Wallet Settings'
: 'Connect Wallet'}"
>
Expand Down
4 changes: 2 additions & 2 deletions packages/thorin-core/src/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class ThorinModal extends LitElement {
open = false;

@property({ type: String })
title = '';
modalTitle = '';

static styles = css`
:host {
Expand Down Expand Up @@ -107,7 +107,7 @@ export class ThorinModal extends LitElement {
<div class="modal-container">
<div class="modal">
<div class="content">
<div class="title">${this.title}</div>
<div class="title">${this.modalTitle}</div>
<slot></slot>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h2>Modals</h2>
</div>
</div>
</div>
<thorin-modal id="testmodal" title="Test Modal">
<thorin-modal id="testmodal" modalTitle="Test Modal">
<div class="space-y-4">
<p>Hello world</p>
<thorin-avatar name="luc.eth"></thorin-avatar>
Expand Down

0 comments on commit 2f95dc2

Please sign in to comment.