mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 01:15:03 +03:00
Cleanup getStaticProps
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user