Skip to content

Commit

Permalink
Updated docs for getStaticProps return values (fix vercel#33576)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi-toptal committed Jan 25, 2022
1 parent 0cea59c commit 80fa555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/data-fetching/get-static-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The `context` parameter is an object containing the following keys:

## getStaticProps return values

The `getStaticProps` function should return an object with **any one of the following** properties:
The `getStaticProps` function should return an object containing either `props`, `redirect`, or `notFound` followed by an **optional** `revalidate` property.

### `props`

Expand Down

0 comments on commit 80fa555

Please sign in to comment.