未验证 提交 e73faa18 编写于 作者: J Joe Haddad 提交者: GitHub

Update revalidate examples for 9.5 (#15551)

上级 bf9b96bd
......@@ -25,7 +25,7 @@ export async function getStaticProps() {
props: {
initialApolloState: apolloClient.cache.extract(),
},
unstable_revalidate: 1,
revalidate: 1,
}
}
......
......@@ -57,7 +57,7 @@ export async function getStaticProps() {
initialReduxState: reduxStore.getState(),
initialApolloState: apolloClient.cache.extract(),
},
unstable_revalidate: 1,
revalidate: 1,
}
}
......
......@@ -39,7 +39,7 @@ export async function getStaticProps() {
props: {
initialReduxState: reduxStore.getState(),
},
unstable_revalidate: 1,
revalidate: 1,
}
}
......
......@@ -25,6 +25,6 @@ export async function getStaticProps() {
props: {
initialGraphQLState: client.cache.getInitialState(),
},
unstable_revalidate: 1,
revalidate: 1,
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册