diff --git a/README.md b/README.md index 4605133..4c78dad 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ - [🏄 Quick Start](#-quick-start) - [1. Add Provider](#1-add-provider) - [2. Use Hooks](#2-use-hooks) +- [📖 Documentation](#-documentation) - [🦑 Development](#-development) - [✨ Code Style](#-code-style) - [👩‍🔬 Testing](#-testing) @@ -64,7 +65,7 @@ export default function MyComponent() { const { ocean, web3, account } = useOcean() // Get metadata for this asset - const { title, metadata, bestPrice } = useMetadata(did) + const { title, metadata, price } = useMetadata(did) const [price, setPrice] = useState() // publish asset @@ -80,7 +81,7 @@ export default function MyComponent() { return (

{title}

-

Price: {bestPrice}

+

Price: {price}

Your account: {account}