Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Dec 21, 2023
1 parent cdc9e8c commit 5d87e87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
26 changes: 0 additions & 26 deletions packages/scaffold/src/views/w3m-account-view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,28 +213,6 @@ export class W3mAccountView extends LitElement {
`
}

private emailBtnTemplate() {
const type = StorageUtil.getConnectedConnector()
const emailConnector = ConnectorController.getEmailConnector()
if (!emailConnector || type !== 'EMAIL') {
return null
}
const email = emailConnector.provider.getEmail() ?? ''

return html`
<wui-list-item
variant="icon"
iconVariant="overlay"
icon="mail"
iconSize="sm"
?chevron=${true}
@click=${() => this.onGoToUpdateEmail(email)}
>
<wui-text variant="paragraph-500" color="fg-100">${email}</wui-text>
</wui-list-item>
`
}

private handleClickPay() {
RouterController.push('OnRampProviders')
}
Expand Down Expand Up @@ -276,10 +254,6 @@ export class W3mAccountView extends LitElement {
private onGoToUpgradeView() {
RouterController.push('UpgradeEmailWallet')
}

private onGoToUpdateEmail(email: string) {
RouterController.push('UpdateEmailWallet', { email })
}
}

declare global {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { CoreHelperUtil } from '@web3modal/core'
import { customElement } from '@web3modal/ui'
import { LitElement, html } from 'lit'

Expand Down

0 comments on commit 5d87e87

Please sign in to comment.