From 95df1d05d7ae1ca62b3c84fa43346f64b67cd1c8 Mon Sep 17 00:00:00 2001 From: sshmm Date: Wed, 27 Nov 2024 21:34:00 +0200 Subject: [PATCH] Revert "Auxiliary commit to revert individual files from b0fd722f1212dc1653a0fc12d7cbd316ea5889a5" This reverts commit 1f42e8408da926d1d3f61e860cdac93b8145c41b. --- packages/hooks/src/types.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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"];