Skip to content

Commit cdcfaf9

Browse files
SahilAujladancoombs
authored andcommitted
Update client.mdx
1 parent 1e7a7bb commit cdcfaf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/pages/transactions/swap-tokens/client.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You'll need the following env variables:
1313

1414
<CodeBlocks>
1515

16-
```ts twoslash title="requestQuote.ts"
16+
```ts title="requestQuote.ts"
1717
import { client, config } from "./client.ts";
1818

1919
interface SwapQuoteResponse {
@@ -114,7 +114,7 @@ console.log(
114114
);
115115
```
116116

117-
```ts twoslash title="client.ts"
117+
```ts title="client.ts"
118118
import "dotenv/config";
119119
import { type Address, type Hex, toHex } from "viem";
120120
import { LocalAccountSigner } from "@aa-sdk/core";
@@ -151,7 +151,7 @@ export const client = createSmartWalletClient({
151151

152152
This example swaps 0.01 USDC for DAI on Arbitrum, and includes additional error handling.
153153

154-
```ts twoslash
154+
```ts
155155
/**
156156
* Note: This uses direct fetch calls as the swap feature is not yet
157157
* available in @account-kit/wallet-client. Once available, you'll be

0 commit comments

Comments
 (0)