{/* { app.name }
*/}
- { JSON.stringify(payload, null, '\t') }
+ { JSON.stringify(props, null, '\t') }
)
}
@@ -43,7 +43,7 @@ export async function getStaticProps({ params }) {
// console.log('endpointListings', endpointListings[0])
- let pageListing = null
+ let pageListing = allEndpointListings[0]
const start = '/formula/'
@@ -70,7 +70,7 @@ export async function getStaticProps({ params }) {
} catch (error) {
// The Twitter API most likely died
console.error(error)
- return { notFound: true }
+ return { notFound: true, error }
}
}