m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 09:33:38 -05:00

Fix eslint warnings in docs

This commit is contained in:
Sergio
2025-02-21 19:37:36 +02:00
parent bcb9f63735
commit 780d7a088d

View File

@@ -2,6 +2,7 @@ import { useMDXComponents } from "@/mdx-components";
import { Heading, NextraMetadata } from "nextra";
import Home from "./components/pages/home";
/* eslint-disable-next-line */
const Wrapper = useMDXComponents({}).wrapper;
const toc: Heading[] = [];
@@ -14,7 +15,7 @@ export const metadata: NextraMetadata = {
export default function Page() {
return (
// @ts-ignore
// @ts-expect-error This component passes all extra props to the underlying component, but that possibility does not exist in the type declarations. A comment there indicates that passing extra props is intended functionality.
<Wrapper toc={toc} metadata={metadata} className={"x:mx-auto x:flex"}>
<Home />
</Wrapper>