From b124f34a9362cc419111ddb047b313f4ca91a052 Mon Sep 17 00:00:00 2001 From: Qi-Mo Lin Date: Fri, 14 Jun 2024 19:57:10 +0200 Subject: [PATCH] docs: change $fetch to useFetch --- docs/content/2.features/2.serverMedusaClient.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.features/2.serverMedusaClient.md b/docs/content/2.features/2.serverMedusaClient.md index d97dfa6..a882118 100644 --- a/docs/content/2.features/2.serverMedusaClient.md +++ b/docs/content/2.features/2.serverMedusaClient.md @@ -34,7 +34,7 @@ export default eventHandler(async (event) => { In here, we are registering a new `eventHandler` that will create a connection to the Medusa platform and then fetch the product list that can be later returned. -Finally, let's fetch this data in our Vue components by using `$fetch` as shown below: +Finally, let's fetch this data in our Vue components by using `useFetch` as shown below: ```vue