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:
@@ -2,6 +2,7 @@ import { useMDXComponents } from "@/mdx-components";
|
|||||||
import { Heading, NextraMetadata } from "nextra";
|
import { Heading, NextraMetadata } from "nextra";
|
||||||
import Home from "./components/pages/home";
|
import Home from "./components/pages/home";
|
||||||
|
|
||||||
|
/* eslint-disable-next-line */
|
||||||
const Wrapper = useMDXComponents({}).wrapper;
|
const Wrapper = useMDXComponents({}).wrapper;
|
||||||
|
|
||||||
const toc: Heading[] = [];
|
const toc: Heading[] = [];
|
||||||
@@ -14,7 +15,7 @@ export const metadata: NextraMetadata = {
|
|||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
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"}>
|
<Wrapper toc={toc} metadata={metadata} className={"x:mx-auto x:flex"}>
|
||||||
<Home />
|
<Home />
|
||||||
</Wrapper>
|
</Wrapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user