Skip to content

Commit

Permalink
Use correct function name
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed May 19, 2024
1 parent 5743df3 commit fad9011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/snippets/gettingStarted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createClient } from "polkadot-api"
// [!region usage]
// With the `client`, you can get information such as subscribing to the last
// block to get the latest hash:
client.finalized$.subscribe((finalizedBlock) =>
client.finalizedBlock$.subscribe((finalizedBlock) =>
console.log(finalizedBlock.number, finalizedBlock.hash),
)

Expand Down

0 comments on commit fad9011

Please sign in to comment.