Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosampler committed Sep 18, 2024
1 parent 98ac170 commit d5cf651
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/website/src/hooks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export function useContractCall(to: Address, functionName: string, params: any,
const settings = useStore((s) => s.settings);
const { addLog } = useLogs();

// Wrap the fetch function with useCallback
return useCallback(
(from: Address) =>
contractCall(from, to, functionName, params, abi, publicClient, settings.pythUrl)
Expand Down Expand Up @@ -37,7 +36,6 @@ export function useContractTransaction(
const settings = useStore((s) => s.settings);
const { addLog } = useLogs();

// Wrap the fetch function with useCallback
return useCallback(
() =>
contractTransaction(from, to, functionName, params, abi, publicClient, walletClient, settings.pythUrl)
Expand Down

0 comments on commit d5cf651

Please sign in to comment.