Skip to content

Commit 2bbdf3d

Browse files
committed
Add revalidate to example
1 parent bec8817 commit 2bbdf3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/pages/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export async function getStaticProps() {
1111
return {
1212
props: {
1313
blockMap: data
14-
}
14+
},
15+
revalidate: 1
1516
};
1617
}
1718

0 commit comments

Comments
 (0)