Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

docs(api): fix useAsyncData example - #4549

Merged
pi0 merged 2 commits into
nuxt:mainfrom
klevron:patch-1
Apr 25, 2022
Merged

docs(api): fix useAsyncData example#4549
pi0 merged 2 commits into
nuxt:mainfrom
klevron:patch-1

Conversation

@klevron

Copy link
Copy Markdown
Contributor

❓ 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

netlifyBot commented Apr 23, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit0147e75
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62666a5e2ab6aa0009aea4a9
😎 Deploy Previewhttps://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
Copy Markdown

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.

@clemcodeclemcode added the documentation Improvements or additions to documentation label Apr 24, 2022
@pi0pi0 changed the title fix useAsyncData example : typo and remove pickdocs(api): fix useAsyncData exampleApr 25, 2022
Comment threaddocs/content/3.api/1.composables/use-async-data.md Outdated
@pi0
pi0 merged commit e7bbf16 into nuxt:mainApr 25, 2022
@pi0pi0 mentioned this pull request May 2, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xdocumentationImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@klevron@Aareksio@pi0@clemcode@danielroe