[components/toc][s]: removed unused packages

This commit is contained in:
olayway 2022-05-24 17:56:09 +02:00
parent 2ff44763df
commit ccc29184f6
4 changed files with 7478 additions and 589 deletions

View File

@ -1,5 +1,4 @@
import { NextSeo } from "next-seo";
import ReactPlayer from "react-player/lazy";
import LiteYouTubeEmbed from "react-lite-youtube-embed";
import { useState, useEffect } from "react";
@ -17,7 +16,7 @@ import { Anchor } from "./Anchor";
// import { Toc } from './Toc'
export default function MdxPage({ children, editUrl }) {
export default function MdxPage({ children }) {
const [activeHeading, setActiveHeading] = useState("");
const components = getMDXComponents({

8051
site/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,6 @@
"contentlayer": "^0.1.2",
"framer-motion": "^6.3.3",
"gray-matter": "^4.0.3",
"hast-util-to-string": "^2.0.0",
"mdast-util-to-hast": "^12.1.1",
"next": "^12.1.0",
"next-contentlayer": "^0.1.2",
@ -39,11 +38,13 @@
"prettier": "^2.6.2",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",
"rehype-stringify": "^9.0.3",
"remark-gfm": "^3.0.0",
"remark-parse": "^10.0.1",
"remark-wiki-link-plus": "^1.0.0",
"tailwindcss": "^3.0.0",
"unist-util-find": "^1.0.2"
"remark-wiki-link-plus": "^1.0.0"
},
"devDependencies": {
"autoprefixer": "^10.2.6",
"postcss": "^8.3.5",
"tailwindcss": "^3.0.0"
}
}

View File

@ -13,7 +13,7 @@ export default function Page({ body, ...rest }) {
},
};
return <MdxPage children={children} editUrl={editUrl} />;
return <MdxPage children={children} />;
}
export const getStaticProps = async ({ params }) => {