Took 42 seconds
This commit is contained in:
parent
7e6ca0d27f
commit
dd0e020165
@ -28,7 +28,7 @@ const DocsPage = async ({
|
||||
// Get the content to display based on the provided slug
|
||||
const content: DocsContentMetadata | undefined = getDocsContent().find(
|
||||
(metadata: DocsContentMetadata): boolean =>
|
||||
metadata.slug === (slug || "home")
|
||||
metadata.slug === (slug || "intro")
|
||||
);
|
||||
if (!content) {
|
||||
notFound();
|
||||
|
Loading…
x
Reference in New Issue
Block a user