Skip to content

Commit

Permalink
Merge pull request #866 from storyblok/docs/fix-missleading-code-snip…
Browse files Browse the repository at this point in the history
…pet-readme

docs: fix missleading example with storyblokApi
  • Loading branch information
alvarosabu authored Jul 10, 2024
2 parents f46e2ef + 94884ea commit b189180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b189180

Please sign in to comment.