Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typos #19

Merged
merged 4 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/disable-type-linting-error-checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion docs/quick-start/environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/ReadUintFromContract.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/WriteToContractWriteAsyncButton.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<details open>
<summary>Here is the full code, which we will be implementing in the guide below:</summary>
Expand Down
Loading