docs(content-docs): updates typo in lifecycle-apis.md (#8055)

This commit is contained in:
Alexander Nguyen 2022-09-07 04:23:45 -07:00 committed by GitHub
parent e507628f4a
commit bf080d172a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ During the build, plugins are loaded in parallel to fetch their own contents and
Plugins should use this lifecycle to fetch from data sources (filesystem, remote API, headless CMS, etc.) or do some server processing. The return value is the content it needs.
For example, this plugin below return a random integer between 1 to 10 as content.
For example, this plugin below returns a random integer between 1 and 10 as content.
```js title="docusaurus-plugin/src/index.js"
module.exports = function (context, options) {