Skip to content

Commit

Permalink
dope
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Jul 16, 2024
1 parent 653b0a4 commit ed4c0a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
32 changes: 0 additions & 32 deletions site/docs/pages/transaction/transaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,3 @@ import { Wallet, ConnectWallet } from '../../../../src/wallet';
:::warning
Component is actively in development. Stay tuned for upcoming releases.
:::

<App>
<TransactionWrapper>
{({ address, contracts }) => {
if (address) {
return (
<Transaction address={address} contracts={contracts}>
<TransactionButton />
<TransactionGasFee>
<TransactionGasFeeLabel />
<TransactionGasFeeEstimate />
<TransactionGasFeeSponsoredBy />
</TransactionGasFee>
<TransactionStatus>
<TransactionStatusLabel />
<TransactionStatusAction />
</TransactionStatus>
</Transaction>
)
} else {
return (
<Wallet>
<ConnectWallet>
<Avatar className="h-6 w-6" />
<Name />
</ConnectWallet>
</Wallet>
)
}
}}
</TransactionWrapper>
</App>
3 changes: 2 additions & 1 deletion src/styles/theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { type ClassValue, clsx } from 'clsx';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { type ClassValue } from 'clsx';

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
Expand Down
5 changes: 3 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ export default defineConfig({
'**.js',
'**.ts',
'**/**.stories.**',
'**/getMockFrameRequest.ts',
'**/index.ts',
'**/*Svg.tsx',
'**/types.ts',
'**/getMockFrameRequest.ts',
'.storybook/**',
'.yarn/**',
'esm/**',
'framegear/**',
'node_modules/**',
'onchainkit/esm/**',
'site/**',
'**/*Svg.tsx',

],
reportOnFailure: true,
thresholds: {
Expand Down

0 comments on commit ed4c0a7

Please sign in to comment.