From 7c2bb850547c177309de9b4e22c26fcd83b3f2c8 Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sun, 13 Oct 2024 22:33:55 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Damian GÅ‚owala --- docs/3.api/3.utils/define-nuxt-component.md | 2 +- docs/3.api/3.utils/refresh-nuxt-data.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.api/3.utils/define-nuxt-component.md b/docs/3.api/3.utils/define-nuxt-component.md index a7b11e07a7..88173408ea 100644 --- a/docs/3.api/3.utils/define-nuxt-component.md +++ b/docs/3.api/3.utils/define-nuxt-component.md @@ -37,7 +37,7 @@ export default defineNuxtComponent({ ``` ::warning -Data from `useAsyncData` is only set once in the `setup` hook of your component. This means `refreshNuxtData` will not work with `asyncData`. If you need to re-run `useAsyncData`, you can change it with a `method` of the Option API. +Data from `useAsyncData` is only set once in the `setup` hook of your component. This means `refreshNuxtData` will not work with `asyncData`. If you need to re-run `useAsyncData`, you can change it with a `method` of the Options API. :: ## `head()` diff --git a/docs/3.api/3.utils/refresh-nuxt-data.md b/docs/3.api/3.utils/refresh-nuxt-data.md index 5c38f8858f..879168b041 100644 --- a/docs/3.api/3.utils/refresh-nuxt-data.md +++ b/docs/3.api/3.utils/refresh-nuxt-data.md @@ -13,7 +13,7 @@ links: :: ::warning -`refreshNuxtData` only works with composition API. `asyncData` hook from the Options API does not work with `refreshNuxtData`. +`refreshNuxtData` only works with Composition API. `asyncData` hook from the Options API does not work with `refreshNuxtData`. :: ## Type