refactor: improve code quality
This commit is contained in:
@@ -16,7 +16,7 @@ export async function getStaticPaths() {
|
||||
});
|
||||
}
|
||||
|
||||
const { category } = Astro.params;
|
||||
const category = Astro.params.category as string;
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user