diff --git a/docs/disable-type-linting-error-checks.md b/docs/disable-type-linting-error-checks.md index 50d3a12..6143dc0 100644 --- a/docs/disable-type-linting-error-checks.md +++ b/docs/disable-type-linting-error-checks.md @@ -10,7 +10,7 @@ TypeScript helps you catch errors at compile time, which can save time and impro ## Disabling Commit Checks -We run the `pre-commit` [git hook](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) which lints the staged files and doesn't let you commit if there is an linting error. +We run the `pre-commit` [git hook](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) which lints the staged files and doesn't let you commit if there is a linting error. To disable this, go to the `.husky/pre-commit` file and comment out `yarn lint-staged --verbose` diff --git a/docs/quick-start/environment.mdx b/docs/quick-start/environment.mdx index b84f1bc..38358c2 100644 --- a/docs/quick-start/environment.mdx +++ b/docs/quick-start/environment.mdx @@ -35,7 +35,7 @@ The command also will create a file called `packages/nextjs/contracts/deployedCo :::tip -Note that `yarn deploy` does not reset the the generated `deployedContracts.ts` file, meaning that any changes that you made to the contract name or any deletion will not be taken into account, as it will only make the new deployment on top of the existing API. To completely start from a fresh state of deployment, you can run (do run with caution): +Note that `yarn deploy` does not reset the generated `deployedContracts.ts` file, meaning that any changes that you made to the contract name or any deletion will not be taken into account, as it will only make the new deployment on top of the existing API. To completely start from a fresh state of deployment, you can run (do run with caution): ``` yarn deploy:reset diff --git a/docs/recipes/ReadUintFromContract.md b/docs/recipes/ReadUintFromContract.md index 461d615..152fcc6 100644 --- a/docs/recipes/ReadUintFromContract.md +++ b/docs/recipes/ReadUintFromContract.md @@ -1,7 +1,7 @@ --- sidebar_position: 3 title: Read a uint from a contract -description: Learn how to read from contract functions which accepts arguments / no arguments and display them on UI. +description: Learn how to read from contract functions which accept arguments / no arguments and display them on UI. --- # Read a `uint` from a contract diff --git a/docs/recipes/WriteToContractWriteAsyncButton.md b/docs/recipes/WriteToContractWriteAsyncButton.md index cd8c01c..f77d903 100644 --- a/docs/recipes/WriteToContractWriteAsyncButton.md +++ b/docs/recipes/WriteToContractWriteAsyncButton.md @@ -6,7 +6,7 @@ description: Learn how to create a button that executes the writeContractAsync f # Write to a Contract with `writeContractAsync` button -his recipe demonstrates how to create a button for contract interaction using the "useTransactor" and "useWriteContract" hooks from the "starknet-react" library. The interaction includes the capability to provide feedback on the transaction status when using starknet-react `useContractWrite`. +This recipe demonstrates how to create a button for contract interaction using the "useTransactor" and "useWriteContract" hooks from the "starknet-react" library. The interaction includes the capability to provide feedback on the transaction status when using starknet-react `useContractWrite`.
Here is the full code, which we will be implementing in the guide below: