Unverified Commit e73faa18 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Update revalidate examples for 9.5 (#15551)

parent bf9b96bd
...@@ -25,7 +25,7 @@ export async function getStaticProps() { ...@@ -25,7 +25,7 @@ export async function getStaticProps() {
props: { props: {
initialApolloState: apolloClient.cache.extract(), initialApolloState: apolloClient.cache.extract(),
}, },
unstable_revalidate: 1, revalidate: 1,
} }
} }
......
...@@ -57,7 +57,7 @@ export async function getStaticProps() { ...@@ -57,7 +57,7 @@ export async function getStaticProps() {
initialReduxState: reduxStore.getState(), initialReduxState: reduxStore.getState(),
initialApolloState: apolloClient.cache.extract(), initialApolloState: apolloClient.cache.extract(),
}, },
unstable_revalidate: 1, revalidate: 1,
} }
} }
......
...@@ -39,7 +39,7 @@ export async function getStaticProps() { ...@@ -39,7 +39,7 @@ export async function getStaticProps() {
props: { props: {
initialReduxState: reduxStore.getState(), initialReduxState: reduxStore.getState(),
}, },
unstable_revalidate: 1, revalidate: 1,
} }
} }
......
...@@ -25,6 +25,6 @@ export async function getStaticProps() { ...@@ -25,6 +25,6 @@ export async function getStaticProps() {
props: { props: {
initialGraphQLState: client.cache.getInitialState(), initialGraphQLState: client.cache.getInitialState(),
}, },
unstable_revalidate: 1, revalidate: 1,
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment