Skip to content

Commit 4df0630

Browse files
authored
Merge branch 'canary' into shu/504f
2 parents c0b7c2e + f0e31ee commit 4df0630

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/api-reference/data-fetching/get-server-side-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `context` parameter is an object containing the following keys:
4343

4444
## getServerSideProps return values
4545

46-
The `getServerSideProps` function should return an object with the following **optional** properties:
46+
The `getServerSideProps` function should return an object with **any one of the following** properties:
4747

4848
### `props`
4949

docs/api-reference/data-fetching/get-static-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The `context` parameter is an object containing the following keys:
4141

4242
## getStaticProps return values
4343

44-
The `getStaticProps` function should return an object with the following **optional** properties:
44+
The `getStaticProps` function should return an object containing either `props`, `redirect`, or `notFound` followed by an **optional** `revalidate` property.
4545

4646
### `props`
4747

packages/next-swc/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)