import { TTCMD } from "@/components/ttcmd"; import { ArrowLeftCircleIcon } from "@heroicons/react/24/solid"; import { readFile } from "fs/promises"; import { Suspense } from "react"; export default async function Help({ params, }: { params: { article: string }; }) { if (!params.article.endsWith(".md")) return <>; const body = readFile( "./md/help articles/" + decodeURIComponent(params.article), "utf-8", ); return ( <>

Help

{decodeURIComponent(params.article).replace(".md", "")}

); }