mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add getStaticProps documentation link
This commit is contained in:
parent
f7f39af220
commit
d30aecfbb8
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ const defaultStaticProps = {
|
|||
revalidate: ONE_MINUTE
|
||||
}
|
||||
|
||||
|
||||
// https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation
|
||||
export async function getStaticProps({ params }) {
|
||||
const { slug } = params
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue