Skip to content

Commit

Permalink
i18n(zh-cn): Update reference/api-reference.mdx code example (#7196)
Browse files Browse the repository at this point in the history
  • Loading branch information
100gle committed Mar 5, 2024
1 parent 2bb92f4 commit 9196b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ const enterprisePost = await getEntry('blog', 'enterprise');
const picardProfile = await getEntry('captains', 'picard');
// 得到 the profile referenced by `data.captain`
const enterpriseCaptainProfile = await getEntry(enterprise.data.captain);
const enterpriseCaptainProfile = await getEntry(enterprisePost.data.captain);
---
```

Expand Down

0 comments on commit 9196b25

Please sign in to comment.