Skip to content

Commit 02d3bee

Browse files
Fix pre-commit formatting issues in pyth-token.mdx, starknet.mdx, and ton.mdx
- Fix trailing whitespace in starknet.mdx and ton.mdx - Apply prettier formatting to all three files - Update import quotes to use double quotes in pyth-token.mdx - Reformat code block formatting in starknet.mdx and ton.mdx tabs Co-Authored-By: Jayant <[email protected]>
1 parent a5e6299 commit 02d3bee

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

pages/home/pyth-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Steps } from 'nextra/components';
1+
import { Steps } from "nextra/components";
22

33
# PYTH Token
44

pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,9 @@ Pyth also provides a javascript SDK to interact with the Pyth contract on Starkn
2121

2222
<Tabs items={["npm", "yarn"]}>
2323
<Tabs.Tab>
24-
```sh copy
25-
npm install --save @pythnetwork/pyth-starknet-js
26-
```
27-
</Tabs.Tab>
28-
<Tabs.Tab>
29-
```sh copy
30-
yarn add @pythnetwork/pyth-starknet-js
31-
```
24+
```sh copy npm install --save @pythnetwork/pyth-starknet-js ```
3225
</Tabs.Tab>
26+
<Tabs.Tab>```sh copy yarn add @pythnetwork/pyth-starknet-js ```</Tabs.Tab>
3327
</Tabs>
3428

3529
## Write Contract Code

pages/price-feeds/use-real-time-data/pull-integration/ton.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ Install the Pyth TON SDK and other necessary dependencies using npm:
1414

1515
<Tabs items={["npm", "yarn"]}>
1616
<Tabs.Tab>
17-
```sh copy
18-
npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
19-
@ton/core @ton/ton @ton/crypto
20-
```
17+
```sh copy npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
18+
@ton/core @ton/ton @ton/crypto ```
2119
</Tabs.Tab>
2220
<Tabs.Tab>
23-
```sh copy
24-
yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
25-
@ton/core @ton/ton @ton/crypto
26-
```
21+
```sh copy yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
22+
@ton/core @ton/ton @ton/crypto ```
2723
</Tabs.Tab>
2824
</Tabs>
2925

0 commit comments

Comments
 (0)