diff --git a/examples/next/src/app/components/Connected.tsx b/examples/next/src/app/components/Connected.tsx index b3468219..3e4c90ec 100644 --- a/examples/next/src/app/components/Connected.tsx +++ b/examples/next/src/app/components/Connected.tsx @@ -54,7 +54,9 @@ export const Connected = () => { }, [pendingFeeOptionConfirmation]) useEffect(() => { - console.log(error?.message) + if (error?.message) { + console.log(error?.message) + } }, [error]) const chainId = useChainId()