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

docs: fix api examples#4870

Merged
pi0 merged 3 commits intonuxt:mainfrom
salimabsi:docs/api
May 9, 2022
Merged

docs: fix api examples#4870
pi0 merged 3 commits intonuxt:mainfrom
salimabsi:docs/api

Conversation

@salimabsi
Copy link

@salimabsi salimabsi commented May 7, 2022

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

The example talks about useFetch() composable not useAsyncData().
Add missing await keyword to useFetch() composable.

@netlify
Copy link

netlify bot commented May 7, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit e991108
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/627650f0d384c900088e80f5
😎 Deploy Preview https://deploy-preview-4870--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.

@salimabsi salimabsi changed the title docs(api/use-route): fix example description docs(api): fix api examples May 7, 2022
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks!

@pi0 pi0 changed the title docs(api): fix api examples docs: fix api examples May 9, 2022
@pi0 pi0 merged commit c0f0670 into nuxt:main May 9, 2022
@pi0 pi0 mentioned this pull request May 10, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants