Skip to content

Commit

Permalink
Return array from getStaticPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
echus committed Jan 23, 2024
1 parent cdbed64 commit 8e066c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/people/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
import { type CollectionEntry, getCollection } from "astro:content";
export async function getStaticPaths() {}
export async function getStaticPaths() {
return [];
}
// import Person from "../../layouts/Person.astro";
//
// export async function getStaticPaths() {
Expand Down

0 comments on commit 8e066c4

Please sign in to comment.