Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs(api): fix useAsyncData example #4549

Merged
merged 2 commits into from
Apr 25, 2022
Merged

docs(api): fix useAsyncData example #4549

merged 2 commits into from
Apr 25, 2022

Conversation

klevron
Copy link
Contributor

@klevron klevron commented Apr 23, 2022

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)

πŸ“š Description

Fix typo and remove pick option since api will return and array of mountains

@netlify
Copy link

netlify bot commented Apr 23, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 0147e75
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62666a5e2ab6aa0009aea4a9
😎 Deploy Preview https://deploy-preview-4549--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Aareksio
Copy link

Btw this example does not include await and as far as I am aware, nowhere in the doc it is stated useAsyncData should always be awaited, yet according to this issue this is the case.

@clemcode clemcode added the documentation Improvements or additions to documentation label Apr 24, 2022
@pi0 pi0 changed the title fix useAsyncData example : typo and remove pick docs(api): fix useAsyncData example Apr 25, 2022
@pi0 pi0 merged commit e7bbf16 into nuxt:main Apr 25, 2022
@pi0 pi0 mentioned this pull request May 2, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants