Skip to content

Commit

Permalink
code snippets fix (#2296)
Browse files Browse the repository at this point in the history
Co-authored-by: PiVortex <[email protected]>
  • Loading branch information
PiVortex and PiVortex authored Nov 12, 2024
1 parent a97beef commit 51a1533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/2.build/2.smart-contracts/anatomy/anatomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Let's illustrate the basic anatomy of a simple "Hello World" contract. The code

</Block>

<Block highlights='{"js": "4-17", "rust":"5-7,20-31"}' fname="hello-near">
<Block highlights='{"js": "5-22", "rust":"5-7,20-31"}' fname="hello-near">

### Contract's Main Structure
The contract is described through a structure:
Expand Down
2 changes: 1 addition & 1 deletion docs/2.build/2.smart-contracts/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ The `Hello World` smart contract stores a greeting in its state, and exposes two

<Github fname="index.js" language="js"
url="https://github.com/near-examples/hello-near-examples/blob/main/contract-ts/src/contract.ts"
start="4" end="18" />
start="4" end="22" />

</TabItem>

Expand Down

0 comments on commit 51a1533

Please sign in to comment.