Skip to content

Commit

Permalink
remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp committed Sep 6, 2023
1 parent 81d7e9f commit a14e54d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions packages/wagmi/exports/react.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
'use client'

import type {
W3mAccountButton,
W3mButton,
W3mConnectButton,
W3mNetworkButton
} from '@web3modal/scaffold'
import type { W3mAccountButton, W3mButton, W3mConnectButton } from '@web3modal/scaffold'
import { useEffect, useState } from 'react'
import type { Web3ModalOptions } from '../src/client.js'
import { Web3Modal } from '../src/client.js'
Expand All @@ -25,7 +20,6 @@ declare global {
interface IntrinsicElements {
'w3m-connect-button': Pick<W3mConnectButton, 'size' | 'label' | 'loadingLabel'>
'w3m-account-button': Pick<W3mAccountButton, 'disabled' | 'balance'>
'w3m-network-button': Pick<W3mNetworkButton, 'variant'>
'w3m-button': Pick<W3mButton, 'size' | 'label' | 'loadingLabel' | 'disabled' | 'balance'>
}
}
Expand Down
1 change: 0 additions & 1 deletion packages/wagmi/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ declare module '@vue/runtime-core' {
export interface ComponentCustomProperties {
W3mConnectButton: Pick<W3mConnectButton, 'size' | 'label' | 'loadingLabel'>
W3mAccountButton: Pick<W3mAccountButton, 'disabled' | 'balance'>
W3mNetworkButton: Pick<W3mNetworkButton, 'variant'>
W3mButton: Pick<W3mButton, 'size' | 'label' | 'loadingLabel' | 'disabled' | 'balance'>
}
}
Expand Down

0 comments on commit a14e54d

Please sign in to comment.