diff --git a/bun.lockb b/bun.lockb
index 5115330..01c92f5 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/package.json b/package.json
index 35e2171..ee5d614 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"test:coverage": "vitest run --coverage"
},
"dependencies": {
- "@coinbase/onchainkit": "^0.28.7",
+ "@coinbase/onchainkit": "^0.29.5",
"next": "^14.2.5",
"permissionless": "^0.1.26",
"react": "^18",
diff --git a/src/app/page.tsx b/src/app/page.tsx
index cab923f..d2ab17d 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -38,7 +38,7 @@ export default function Page() {
{address ? (
-
+
) : (
{
describe('TransactionWrapper', () => {
it('should renders', () => {
- renderWithProviders();
+ renderWithProviders();
const transaction = screen.getByText('Transact');
expect(transaction).toBeInTheDocument();
});
diff --git a/src/components/TransactionWrapper.tsx b/src/components/TransactionWrapper.tsx
index 286a06f..1bf8aa9 100644
--- a/src/components/TransactionWrapper.tsx
+++ b/src/components/TransactionWrapper.tsx
@@ -10,20 +10,14 @@ import type {
TransactionError,
TransactionResponse,
} from '@coinbase/onchainkit/transaction';
-import type { Address, ContractFunctionParameters } from 'viem';
+import type { ContractFunctionParameters } from 'viem';
import {
BASE_SEPOLIA_CHAIN_ID,
clickContractABI,
clickContractAddress,
} from '../constants';
-type TransactionWrapperParams = {
- address: Address;
-};
-
-export default function TransactionWrapper({
- address,
-}: TransactionWrapperParams) {
+export default function TransactionWrapper() {
const contracts = [
{
address: clickContractAddress,
@@ -44,7 +38,6 @@ export default function TransactionWrapper({
return (