diff --git a/site/docs/components/TransactionWrapper.tsx b/site/docs/components/TransactionWrapper.tsx index 16a66c17eb..ffc8179394 100644 --- a/site/docs/components/TransactionWrapper.tsx +++ b/site/docs/components/TransactionWrapper.tsx @@ -52,7 +52,7 @@ export default function TransactionWrapper({ return (
-
+
{children({ address, contracts, onError, onSuccess })}
diff --git a/src/transaction/components/TransactionToast.tsx b/src/transaction/components/TransactionToast.tsx index 335aa601f1..0cc7273d56 100644 --- a/src/transaction/components/TransactionToast.tsx +++ b/src/transaction/components/TransactionToast.tsx @@ -1,6 +1,6 @@ import { useCallback, useEffect, useMemo } from 'react'; import { closeSvg } from '../../internal/svg/closeSvg'; -import { cn } from '../../styles/theme'; +import { background, cn } from '../../styles/theme'; import type { TransactionToastReact } from '../types'; import { useTransactionContext } from './TransactionProvider'; @@ -67,8 +67,9 @@ export function TransactionToast({ return (