Skip to content

Commit

Permalink
docs(use-account-balance): simplify example
Browse files Browse the repository at this point in the history
`balance.balance` seems redundant
  • Loading branch information
runjuu committed Jul 12, 2023
1 parent 8703fdf commit cf8b043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/docs/src/pages/docs/hooks/use-account-balance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import { Callout } from "nextra-theme-docs";
import { useAccountBalance } from "@crossbell/connect-kit";

function App() {
const balance = useAccountBalance();
const { balance, isLoading } = useAccountBalance();

return <div>{balance ? balance.balance.formatted : "No Balance Info"}</div>;
return <div>{balance ? balance.formatted : "No Balance Info"}</div>;
}
```

1 comment on commit cf8b043

@vercel
Copy link

@vercel vercel bot commented on cf8b043 Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crossbell-universe – ./

crossbell-universe-git-main-crossbell.vercel.app
crossbell-dev.vercel.app
crossbell-universe-crossbell.vercel.app

Please sign in to comment.