diff --git a/packages/hooks/src/types.ts b/packages/hooks/src/types.ts index 83a2d96c..bef04666 100644 --- a/packages/hooks/src/types.ts +++ b/packages/hooks/src/types.ts @@ -1,8 +1,7 @@ -import { useSimulateContract, useWriteContract } from 'wagmi'; +import { + useSimulateContract, + useWriteContract, +} from 'wagmi'; -export type SimulateContractErrorType = ReturnType< - typeof useSimulateContract ->['error']; -export type WriteContractErrorType = ReturnType< - typeof useWriteContract ->['error']; +export type SimulateContractErrorType = ReturnType["error"]; +export type WriteContractErrorType = ReturnType["error"];