]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix minor typo in nuxt.md (#2548)
authorIdorenyin Udoh <idorenyinudoh10@outlook.com>
Sun, 7 Jan 2024 18:59:24 +0000 (19:59 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 18:59:24 +0000 (19:59 +0100)
packages/docs/ssr/nuxt.md

index a581887b722c885b9551a122f0376664f7f9e9d1..8ff6e225d6f74b989c1db0b2f9b6d6022de5402e 100644 (file)
@@ -38,7 +38,7 @@ And that's it, use your store as usual!
 
 ## Awaiting for actions in pages
 
-As with `onServerPrefetch()`, you can call a store action within `asyncData()`. Given how `useASyncData()` works, **make sure to return a value**. This will allow Nuxt to skip running the action on the client side and reuse the value from the server.
+As with `onServerPrefetch()`, you can call a store action within `asyncData()`. Given how `useAsyncData()` works, **make sure to return a value**. This will allow Nuxt to skip running the action on the client side and reuse the value from the server.
 
 ```vue{3-4}
 <script setup>