Skip to content

Commit

Permalink
docs: fix udc example (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek authored Jan 9, 2025
2 parents 2120f95 + 7b8304a commit 2c2d04b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/pages/docs/hooks/use-universal-deployer-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ This hook internally calls `useContract` with the Universal Deployer contract ad
```ts twoslash
import { useUniversalDeployerContract } from "@starknet-react/core";

const { contract } = useUniversalDeployerContract();
const { udc } = useUniversalDeployerContract();
```

## Data

### udc

- Type: `StarknetTypedContract`

Typed contract with `abi-wan-kanabi` types.
Expand Down

0 comments on commit 2c2d04b

Please sign in to comment.