Skip to content

Commit

Permalink
Update useScaffoldContractWrite.ts - Error message typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakGriffith authored Aug 31, 2023
1 parent b50b6b7 commit adb8c81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ export const useScaffoldContractWrite = <
value?: UseScaffoldWriteConfig<TContractName, TFunctionName>["value"];
} & UpdatedArgs = {}) => {
if (!deployedContractData) {
notification.error("Target Contract is not deployed, did you forgot to run `yarn deploy`?");
notification.error("Target Contract is not deployed, did you forget to run `yarn deploy`?");
return;
}
if (!chain?.id) {
notification.error("Please connect your wallet");
return;
}
if (chain?.id !== configuredNetwork.id) {
notification.error("You on the wrong network");
notification.error("You are on the wrong network");
return;
}

Expand Down

0 comments on commit adb8c81

Please sign in to comment.