Skip to content

Commit

Permalink
Remove old transaction component address param
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Aug 22, 2024
1 parent 40a0892 commit cac8139
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/TransactionWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -44,7 +38,6 @@ export default function TransactionWrapper({
return (
<div className="flex w-[450px]">
<Transaction
address={address}
contracts={contracts}
className="w-[450px]"
chainId={BASE_SEPOLIA_CHAIN_ID}
Expand Down

0 comments on commit cac8139

Please sign in to comment.