Skip to content

Commit e2a485e

Browse files
gregfromstlkien-ngo
authored andcommitted
fix(portal): syntax highlighting on useBlockNumber example
1 parent 05c77df commit e2a485e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/react/core/hooks/rpc/useBlockNumber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type UseBlockNumberOptions = {
1818
* @param options - The options for the hook.
1919
* @returns The latest block number.
2020
* @example
21-
* ```
21+
* ```ts
2222
* import { useBlockNumber } from "thirdweb/react";
2323
* const blockNumber = useBlockNumber({client, chain});
2424
* ```

0 commit comments

Comments
 (0)