mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 01:23:39 -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 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>
|
||||
|
||||
Reference in New Issue
Block a user