Skip to content

Commit

Permalink
Update Wallet Title
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 15, 2024
1 parent ce1aac5 commit b5c2e81
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/thorin-core/src/connect-modal/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable sonarjs/cognitive-complexity */
/* eslint-disable sonarjs/no-identical-functions */
/* eslint-disable unicorn/no-nested-ternary */
import { walletConnect } from '@wagmi/connectors';
Expand Down Expand Up @@ -110,7 +111,12 @@ export class ThorinConnectModal extends LitElement {

render() {
return html`
<thorin-modal ?open="${this.open}" title="Connect Wallet">
<thorin-modal
?open="${this.open}"
title="${this.activeConnector && !this.connecting
? 'Wallet Settings'
: 'Connect Wallet'}"
>
<div class="space-y-2">
${this.activeConnector && !this.connecting
? html`<div class="space-y-2">
Expand Down

0 comments on commit b5c2e81

Please sign in to comment.