File size: 257 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const gspValue = await Promise.resolve(42)

export async function getStaticProps() {
  return {
    props: { gspValue },
  }
}

export default function Index({ gspValue }) {
  return (
    <main>
      <div id="gsp-value">{gspValue}</div>
    </main>
  )
}