Skip to content

Commit 34683bd

Browse files
committed
fix(docs): Readme example
1 parent f8c5a9d commit 34683bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Framework for Solana dApps: evolving multi-framework client core (React-first to
3737
## React quick start
3838

3939
```tsx
40-
import { createSolanaClient } from "@solana/client";
40+
import { createClient } from "@solana/client";
4141
import { SolanaProvider, useWalletConnection } from "@solana/react-hooks";
4242

43-
const client = createSolanaClient({
43+
const client = createClient({
4444
endpoint: "https://api.devnet.solana.com",
4545
});
4646

0 commit comments

Comments
 (0)