refactor: improve code quality

This commit is contained in:
saicaca
2024-07-21 15:47:49 +08:00
parent 743d8dd9c2
commit 003c644146
20 changed files with 76 additions and 69 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export async function getStaticPaths() {
});
}
const { category } = Astro.params;
const category = Astro.params.category as string;
---