diff --git a/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts b/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts index 73e33543a..f8454394b 100644 --- a/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts +++ b/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts @@ -57,7 +57,7 @@ export const useScaffoldWriteContract = ({ } if (accountChain?.id !== selectedNetwork.id) { - notification.error("Your wallet is connected to the wrong network"); + notification.error(`Wallet is connected to the wrong network. Please switch to ${selectedNetwork.name}`); return; } @@ -107,7 +107,7 @@ export const useScaffoldWriteContract = ({ } if (accountChain?.id !== selectedNetwork.id) { - notification.error("Your wallet is connected to the wrong network"); + notification.error(`Wallet is connected to the wrong network. Please switch to ${selectedNetwork.name}`); return; }