diff --git a/site/docs/components/TransactionWrapper.tsx b/site/docs/components/TransactionWrapper.tsx index 951b525eb3..8c4d3f44b6 100644 --- a/site/docs/components/TransactionWrapper.tsx +++ b/site/docs/components/TransactionWrapper.tsx @@ -58,12 +58,12 @@ export default function TransactionWrapper({ function onStatus(status: LifeCycleStatus) { console.log('LifecycleStatus', status); - }; + } return (
- {children({ address, contracts, onError, onSuccess, onStatus})} + {children({ address, contracts, onError, onSuccess, onStatus })}
); diff --git a/site/docs/pages/transaction/transaction.mdx b/site/docs/pages/transaction/transaction.mdx index dabe655145..a9cfe3afc7 100644 --- a/site/docs/pages/transaction/transaction.mdx +++ b/site/docs/pages/transaction/transaction.mdx @@ -44,7 +44,7 @@ Execute one or multiple `contracts` using the Transaction component. Each `contr :::code-group -```tsx [TransactionComponents.tsx] +```tsx twoslash [TransactionComponents.tsx] import { useCallback } from 'react'; import { Avatar, Name } from '@coinbase/onchainkit/identity'; import { // [!code focus]