Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Aug 7, 2024
1 parent bab9fe6 commit 1c6df7a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions site/docs/components/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
// import { OnchainKitProvider } from '@coinbase/onchainkit';
import { OnchainKitProvider } from '../pages/src/OnchainKitProvider';
import { OnchainKitProvider } from '@coinbase/onchainkit';
// import { OnchainKitProvider } from '../pages/src/OnchainKitProvider';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import type { ReactNode } from 'react';
import { http, WagmiProvider, createConfig } from 'wagmi';
Expand Down
6 changes: 2 additions & 4 deletions site/docs/pages/wallet/wallet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ import {
Wallet,
WalletDropdown,
WalletDropdownLink,
WalletDropdownBaseName,
WalletDropdownDisconnect,
} from '../src/wallet';
} from '@coinbase/onchainkit/wallet';
import {
Address,
Avatar,
Name,
Identity,
EthBalance,
} from '../src/identity';
} from '@coinbase/onchainkit/identity';
import { color } from '@coinbase/onchainkit/theme';
import AppWithRK from '../../components/AppWithRK';
import WalletComponents from '../../components/WalletComponents';
Expand Down Expand Up @@ -87,7 +86,6 @@ export function WalletComponents() {
<WalletDropdownLink icon="wallet" href="https://wallet.coinbase.com">
Wallet
</WalletDropdownLink>
<WalletDropdownBaseName />
<WalletDropdownDisconnect />
</WalletDropdown>
</Wallet>
Expand Down
2 changes: 0 additions & 2 deletions src/internal/svg/disconnectSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { fill } from '../../styles/theme';

export const disconnectSvg = (
<svg
role="img"
Expand Down
2 changes: 0 additions & 2 deletions src/internal/svg/walletSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { fill } from '../../styles/theme';

export const walletSvg = (
<svg
role="img"
Expand Down
4 changes: 2 additions & 2 deletions src/wallet/components/WalletDropdownLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export function WalletDropdownLink({
target={target}
rel={rel}
>
<div className="absolute left-4 top-1/2 -translate-y-1/2 flex h-5 w-5 items-center justify-center">
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-5 w-5 items-center justify-center">
{iconSvg}
</div>
<span className={cn(text.body, 'pl-6')}>{children}</span>
</a>
);
}
}

0 comments on commit 1c6df7a

Please sign in to comment.