fix: should not error when fetch fails
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m44s
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m44s
This commit is contained in:
@@ -18,7 +18,7 @@ export async function getStaticPaths() {
|
||||
return {
|
||||
params: {
|
||||
resourceType: resourceType.id,
|
||||
resourceName: res.name.replace(/\.md$/, ""),
|
||||
resourceName: res?.name?.replace(/\.md$/, ""),
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user