Add wallet connect title abouve button

pull/3674/head
ioedeveloper 2 years ago committed by Aniket
parent aa52ba9efd
commit f6345eff1d
  1. 2
      apps/remix-ide/src/app/udapp/run-tab.js
  2. 1
      apps/wallet-connect/src/app/app.tsx
  3. 2
      apps/wallet-connect/src/app/walletConnectUI.tsx

@ -170,7 +170,7 @@ export class RunTab extends ViewPlugin {
await addProvider('injected-optimism-provider', 'L2 - Optimism Provider', true, false)
await addProvider('injected-arbitrum-one-provider', 'L2 - Arbitrum One Provider', true, false)
await addProvider('walletconnect', 'Wallet Connect', false, false)
await addProvider('walletconnect', 'WalletConnect', false, false)
}

@ -23,6 +23,7 @@ function App() {
return (
<div className="App">
<h4 className='mt-1'>WalletConnect</h4>
{ ethereumClient && wagmiClient && <WalletConnectUI wagmiClient={wagmiClient} ethereumClient={ethereumClient} /> }
</div>
)

@ -6,7 +6,7 @@ export function WalletConnectUI ({ ethereumClient, wagmiClient }) {
return (
<div>
<div style={{ display: 'inline-block', marginTop: 25 }}>
<div style={{ display: 'inline-block' }}>
<WagmiConfig client={wagmiClient}>
<Web3Button label='Connect to a wallet' />
</WagmiConfig>

Loading…
Cancel
Save