Cleanup getStaticProps

This commit is contained in:
Terry Sutton committed 2023-01-06 16:02:02 -03:30
1 parent 0d93c8b5e4
commit e3da1e72bf
13 files changed
+26 -26

No files matched your search

@@ -33,8 +33,8 @@ export default function JSReference(props) {
)
}
export async function getStaticProps({ params }: { params: { slug: string[] } }) {
return handleRefStaticProps(sections, params, '/javascript/v1', '/javascript/v1')
export async function getStaticProps() {
return handleRefStaticProps(sections, '/javascript/v1')
}
export function getStaticPaths() {