Skip to content

Commit 472ed1d

Browse files
committed
test: forgot to add props in return to test
1 parent d0eecf9 commit 472ed1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demos/default/pages/getStaticProps/with-revalidate-404.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const Show = () => (
1313
export async function getStaticProps(context) {
1414
const time = new Date().getMinutes() % 10 < 5
1515
return {
16+
props: {},
1617
redirect: time ? { destination: '/404', permanent: false} : undefined
1718
}
1819

0 commit comments

Comments
 (0)