Skip to content

Commit

Permalink
Merge branch 'main' into feat/contract_function_origins
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 authored Oct 26, 2023
2 parents f51102d + e88419a commit f60aea5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const WriteOnlyFunctionForm = ({
isLoading,
writeAsync,
} = useContractWrite({
chainId: getTargetNetwork().id,
address: contractAddress,
functionName: abiFunction.name,
abi: [abiFunction] as Abi,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const useScaffoldContractWrite = <
const configuredNetwork = getTargetNetwork();

const wagmiContractWrite = useContractWrite({
chainId: configuredNetwork.id,
address: deployedContractData?.address,
abi: deployedContractData?.abi as Abi,
functionName: functionName as any,
Expand Down

0 comments on commit f60aea5

Please sign in to comment.