We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3cf7a4 commit d0bdc0aCopy full SHA for d0bdc0a
src/pages/notes/[slug].astro
@@ -6,7 +6,7 @@ import Layout from '../../layouts/Layout.astro';
6
7
export const getStaticPaths = async () => {
8
const notes = await getCollection("notes");
9
- const paths = notes.map(note => {
+ const paths = notes. map(note => {
10
return {
11
params: {
12
slug: note.slug
0 commit comments