Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 7216131

Browse files
committed
docs: fix useNfd section
1 parent fc0eff6 commit 7216131

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,12 @@ function Profile() {
383383

384384
// Access NFD properties
385385
const name = nfdQuery.data?.name
386-
const avatar = nfdQuery.data?.avatar
386+
const userProperties = nfdQuery.data?.properties?.userDefined
387387

388388
return (
389389
<div>
390390
<h2>{name || 'No NFD found'}</h2>
391+
<p>{userProperties?.bio || 'No bio'}</p>
391392
</div>
392393
)
393394
}

0 commit comments

Comments
 (0)