-
SIDEBAR
+
+ {/* Search */}
+
);
export default Sidebar;
diff --git a/Frontend/src/app/types/mdx.d.ts b/Frontend/src/app/types/mdx.d.ts
index d813282..9f1e4f3 100644
--- a/Frontend/src/app/types/mdx.d.ts
+++ b/Frontend/src/app/types/mdx.d.ts
@@ -25,7 +25,7 @@ type MDXMetadata = {
/**
* The slug of the file, defined once read.
*/
- slug: string;
+ slug?: string | undefined;
/**
* The metadata of the file.
diff --git a/Frontend/src/app/types/page.d.ts b/Frontend/src/app/types/page.d.ts
index 4ba67cd..4f5f02f 100644
--- a/Frontend/src/app/types/page.d.ts
+++ b/Frontend/src/app/types/page.d.ts
@@ -2,6 +2,6 @@
* Props for a page.
*/
export type PageProps = {
- params: { slug: string };
- searchParams: { [key: string]: string | string[] | undefined };
+ params: { slug: string[] };
+ searchParams: { [key: string]: string | string[] | undefined };
};