Skip to content

Commit

Permalink
docs : move Usage Example before the code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Oladayo-Ahmod committed Jan 15, 2025
1 parent 3db8891 commit 47499fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/hooks/useScaffoldStarkProfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const { data, isLoading } = useScaffoldStarkProfile(
);
```

This example fetches the StarkNet profile for the provided address in the function. The returned object contains the profile `data` which includes the user's name and profile picture, along with `isLoading` showing the loading state.

## Usage Example

This example fetches the StarkNet profile for the provided address in the function. The returned object contains the profile `data` which includes the user's name and profile picture, along with `isLoading` showing the loading state.

```tsx
import { useScaffoldStarkProfile } from "~~/hooks/scaffold-stark/useScaffoldStarkProfile";

Expand Down

0 comments on commit 47499fc

Please sign in to comment.