From 94884ea5e9ff221c6a3cc79d21b975ff42f41980 Mon Sep 17 00:00:00 2001 From: Alvaro Saburido Date: Wed, 10 Jul 2024 09:19:14 +0200 Subject: [PATCH] docs: fix missleading example with storyblokApi --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8c2320..85c87b6 100755 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ Which is the short-hand equivalent to using `useStoryblokApi` inside `useState` const story = useState(); const storyblokApi = useStoryblokApi(); - const { data } = await storyblokApiInstance.get( + const { data } = await storyblokApi.get( `cdn/stories/vue`, { version: "draft"