From a1a5d49e2c0a084d8ee172b1d452db3c57395039 Mon Sep 17 00:00:00 2001 From: Idorenyin Udoh Date: Sun, 7 Jan 2024 19:59:24 +0100 Subject: [PATCH] docs: fix minor typo in nuxt.md (#2548) --- packages/docs/ssr/nuxt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/ssr/nuxt.md b/packages/docs/ssr/nuxt.md index a581887b72..8ff6e225d6 100644 --- a/packages/docs/ssr/nuxt.md +++ b/packages/docs/ssr/nuxt.md @@ -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}